szotov
|
819f0951e4
|
solidity contracts 0.4.25 -> 0.5.3, updates openzeppelin contracts
|
2019-02-09 16:58:09 +03:00 |
jMyles
|
7faa00d6e1
|
Pulling certs out of the mock test flow more completely so that the sanity check can be more robust.
|
2019-02-08 10:06:23 -07:00 |
jMyles
|
b0b0645e4d
|
We don't pass certificate_filepath anymore.
|
2019-02-08 10:06:23 -07:00 |
jMyles
|
52bf0acf52
|
Removing second addition of observer. Fixes #728.
|
2019-02-08 10:06:23 -07:00 |
jMyles
|
0578b8023c
|
Mocking Response with namedtuple.
|
2019-02-02 21:02:34 -05:00 |
Kieran Prasch
|
35d4d23405
|
Fixes and lightly tests Issue #711
|
2019-01-30 11:46:00 -08:00 |
jMyles
|
d08f6a017d
|
No longer need to pass the status template around.
|
2019-01-22 17:04:23 -05:00 |
jMyles
|
150d73da4e
|
Accounting for an earlier refactor by @KPrasch.
|
2019-01-22 17:04:23 -05:00 |
Kieran Prasch
|
4fa2fa8e42
|
Handles Alice database in config subclass, Use sqlalchemy default development database instead of pure in-memory (#662)
|
2019-01-16 11:21:32 -08:00 |
Kieran Prasch
|
45116dd6bc
|
Bake in certificate checksum_address extracation to tls saving methods.
|
2019-01-16 09:48:09 -08:00 |
Kieran Prasch
|
e46fb20bec
|
Update node storage methods to combined API
|
2019-01-16 09:48:09 -08:00 |
jMyles
|
706614cd93
|
Fake cert filepath for Vlad here too.
|
2019-01-15 15:20:17 -05:00 |
jMyles
|
12d5ab0489
|
Two changes in tests to reflect new APIs: 1) Vladimir gets a cert filepath and 2) We don't pass tls as a kwarg anymore for keyring.
|
2019-01-15 15:20:17 -05:00 |
jMyles
|
bed79d4fac
|
Handling 204 response during learning. Fixes #630.
|
2019-01-15 15:20:17 -05:00 |
jMyles
|
bf0a9e702b
|
Test for case where Ursula knows nobody. Currently forced to fail. See #630.
|
2019-01-15 15:20:17 -05:00 |
Kieran Prasch
|
8922af389c
|
Updates Web3 python API usage to v5.0.0-alpha.3
|
2019-01-15 11:47:40 -08:00 |
Kieran Prasch
|
787e0eebbd
|
Remove stale (hopefully) cleanup fixture in favor of ephemeral nodes in 'development mode'
|
2019-01-05 09:27:48 -08:00 |
Kieran Prasch
|
be456e09ff
|
Fixes Issue #583: Allow 'nucypher ursula run' to destroy invalid nucypher system configurations.
|
2019-01-05 09:27:48 -08:00 |
Kieran Prasch
|
46f76ad21c
|
Fixes Issue #634: Restore CLI test for nucypher ursula run --dev --federated-only.
|
2019-01-05 09:27:48 -08:00 |
Kieran Prasch
|
1755a35fdc
|
Respond to RFCs in PR #617
|
2018-12-19 08:43:33 -08:00 |
Kieran Prasch
|
f07f2979ce
|
Provide simple way to start testing nucypher on pyevm with TeserBlockchain classmethods
|
2018-12-18 11:27:28 -08:00 |
David Núñez
|
19dd593256
|
Merge pull request #605 from KPrasch/config
Ursula Development Configuration Test
|
2018-12-17 22:12:37 +01:00 |
David Núñez
|
0bb34fc5f7
|
Update tests/config/test_ursula_config.py
Co-Authored-By: KPrasch <kieranprasch@gmail.com>
|
2018-12-17 12:51:04 -08:00 |
K Prasch
|
3051b10ef5
|
Merge pull request #594 from KPrasch/estimate-gas
Maintain Gas Estimation Metrics
|
2018-12-16 09:56:00 -08:00 |
Kieran Prasch
|
6f69704a3a
|
Use Regex.compile; Docstrings; Even more cleanup
|
2018-12-14 10:10:08 -08:00 |
Kieran Prasch
|
0c7c5a92a8
|
Respond to RFCs: Code Style and Readability Improvements
|
2018-12-14 09:12:25 -08:00 |
David Núñez
|
9f32f76942
|
Update tests/metrics/estimate_gas.py
Co-Authored-By: KPrasch <kieranprasch@gmail.com>
|
2018-12-14 08:06:32 -08:00 |
Tux
|
60ab41c82d
|
Merge pull request #611 from tuxxy/AAA2018-is-gonna-ruin-the-internet
Rename EncryptingKeypair/EncryptingPower to DecryptingKeypair/DecryptingPower
|
2018-12-14 01:49:10 -05:00 |
Kieran Prasch
|
e9a8af68b5
|
Ursula development configuration + character integration test
|
2018-12-13 16:12:51 -08:00 |
Kieran Prasch
|
bf62f9201d
|
Class-based refactor; Timestamped reports; Automation job.
|
2018-12-13 16:01:14 -08:00 |
Kieran Prasch
|
5002639910
|
Use twisted loggers to collect and analyze gas estimation data
|
2018-12-13 16:01:14 -08:00 |
Kieran Prasch
|
d8b9a7e10e
|
Maintains estimate gas tester metrics script; Update to latest API.
|
2018-12-13 16:01:14 -08:00 |
tuxxy
|
ef497e6a1f
|
Rename TestPolicyMetadata to MockPolicyMetadata
|
2018-12-13 14:17:43 -07:00 |
tuxxy
|
92cc46ad8c
|
Rename EncryptingPower/EncryptingKeypair to DecryptingPower/DecryptingKeypair (#597)
|
2018-12-13 14:17:22 -07:00 |
Kieran Prasch
|
58d8c3ffdd
|
Respond to RFCs - Deployer contract names are now public.
|
2018-12-12 18:06:50 -08:00 |
Kieran Prasch
|
d6ad99a8e0
|
Ensure that operating mode is determined via configuration.
|
2018-12-11 10:01:35 -08:00 |
Kieran Prasch
|
c235bb45bb
|
Select a possibly open non-default port for running tests
|
2018-12-11 10:01:35 -08:00 |
Kieran Prasch
|
3b436588a4
|
Restore the usage of --federated-only in CLI tests; Dedicate federated ursula CLI test module.
|
2018-12-11 10:01:35 -08:00 |
Kieran Prasch
|
c90026c7a2
|
Seperates config.produce from init-parameter generation; DRY up shared blockchin config log on NodeConfiguration and NodeStorage
|
2018-12-11 10:01:35 -08:00 |
Kieran Prasch
|
84a1283556
|
Restores blockchain interface connection configuration
|
2018-12-11 10:01:35 -08:00 |
jMyles
|
5e5592a1bf
|
After a day of dependency issues, we're moving to the updated pyUmbral (0.1.2a2).
This is a merge commit of #574 and #603.
|
2018-12-10 21:35:59 -05:00 |
David Núñez
|
015f62c91c
|
Adapt NuCypher to umbral==0.1.2a1
|
2018-12-10 21:38:22 +01:00 |
jMyles
|
485a362da3
|
Fixes to respond to RFCs: GLOBAL_DOMAIN docstring, bad line break.
|
2018-12-09 03:28:37 -05:00 |
jMyles
|
aa64f5820c
|
Fixing these timing tests, although I still have my suspicions that there's a 598 monster hiding somewhere under here.
|
2018-12-06 23:58:32 -05:00 |
jMyles
|
f19601912d
|
Fixed imports and some other formatting issues following merge commit.
|
2018-12-06 21:19:57 -05:00 |
jMyles
|
a3fb853ffa
|
Pre-arranged merge commit between @kprasch and myself to reconcile our branches.
Quite a few conflicts resolved.
|
2018-12-06 20:55:09 -05:00 |
jMyles
|
b919e84184
|
Test showing that POSTing version messiness results in sane handling.
|
2018-12-06 18:21:41 -05:00 |
jMyles
|
46a0fee06f
|
Passing domains and versions all the way through de/serialization flow and template.
|
2018-12-06 18:21:41 -05:00 |
jMyles
|
b129f3298d
|
More sane error messages for node mismatches; tests for the same.
|
2018-12-06 18:19:57 -05:00 |
jMyles
|
b767405d02
|
That's what from_bytes is supposed to look like.
|
2018-12-06 18:18:23 -05:00 |
jMyles
|
c6b63d641a
|
Domains are now sets.
|
2018-12-06 18:18:23 -05:00 |
jMyles
|
ece4bf2808
|
Each Ursula in a concat'd bytestring is variable length.
|
2018-12-06 18:10:05 -05:00 |
jMyles
|
4c9f9108ed
|
Don't learn about nodes with a newer version than you.
|
2018-12-06 18:10:05 -05:00 |
jMyles
|
c1edd537b2
|
Tests for decentralized metadata verification. #573
|
2018-12-06 18:04:11 -05:00 |
jMyles
|
2365f2b2d1
|
Don't save any previously saved states, even if the 'new' one is not the current one.
|
2018-12-06 18:04:11 -05:00 |
jMyles
|
854524c7ef
|
Default LogLevel for tests is now 'info'
|
2018-12-06 18:04:11 -05:00 |
jMyles
|
9be9ac7370
|
Record node snapshots only at the end of a learning round, not every time a node is remembered.
|
2018-12-06 18:04:11 -05:00 |
Kieran Prasch
|
164d499884
|
Consolidate contract tests; further simplify job names.
|
2018-12-05 18:26:38 -08:00 |
Kieran Prasch
|
1c45b7b9d7
|
Update ursula web status template; Template Rendering Exception handling; Add simple template rending test.
|
2018-12-05 16:17:03 -08:00 |
Kieran Prasch
|
1c86a07a13
|
Integrate FleetState into NodeConfiguration; checksum_address -> checksum_public_address
|
2018-12-05 16:17:03 -08:00 |
Kieran Prasch
|
0afe4cc14a
|
Mock default installation to ensure rest_host it correctly set; Includes pytest-mock Pipfile update.
|
2018-12-05 16:17:03 -08:00 |
Kieran Prasch
|
3ea8c8269f
|
Extract cli fixtures: Test CLI help and status. Bug fixes to match. Optioal config_file envvar.
|
2018-12-05 16:17:03 -08:00 |
Kieran Prasch
|
0811666133
|
nucypher cli status automated test
|
2018-12-05 16:17:03 -08:00 |
Kieran Prasch
|
22f3921f38
|
Dedicated cli help test module
|
2018-12-05 16:17:03 -08:00 |
Kieran Prasch
|
0705e2f424
|
Disband cli.constants; Logging bug fixes.
|
2018-12-05 16:17:03 -08:00 |
Kieran Prasch
|
0192a1d16f
|
Tests and bug fixes for password collection via CLI
|
2018-12-05 16:17:03 -08:00 |
Kieran Prasch
|
b2669b8edf
|
Extrapolate more testing steps for CI workflows; Skip publication steps (preversion).
|
2018-12-05 16:16:59 -08:00 |
Kieran Prasch
|
3806fe68f7
|
Integrated test entry point configuration and executable
|
2018-12-05 16:07:30 -08:00 |
Kieran Prasch
|
3a840171b7
|
Through checking of config file existing; Mock line recv. transport.
|
2018-12-05 16:07:30 -08:00 |
Kieran Prasch
|
b0170f1124
|
Add ursula command test job, remove 'unit' language from CI config
|
2018-12-05 16:04:32 -08:00 |
Kieran Prasch
|
8b2a33b48f
|
Basic tests for UrsulaCommandProtocol
|
2018-12-05 15:59:52 -08:00 |
Kieran Prasch
|
a866e4232e
|
Use sqlite :memory: db for dev configurations, as a fallback, and for tests.
|
2018-12-05 15:59:52 -08:00 |
Kieran Prasch
|
ed23e08df1
|
Update tests to use thinned keyring and configuration API
|
2018-12-05 15:59:50 -08:00 |
Kieran Prasch
|
6ab8f4862f
|
bite-sized end-user CLI testing for Ursula CLI operations
|
2018-12-05 15:59:19 -08:00 |
Kieran Prasch
|
b57d8cf88b
|
Deprecate accounts CLI tests
|
2018-12-05 15:58:20 -08:00 |
Kieran Prasch
|
305eadc8d8
|
Updates tests with NodeStorage internal API usage; passphrase -> password
|
2018-12-05 15:58:20 -08:00 |
Kieran Prasch
|
14d5189787
|
First bout of testing for new Ursula CLI API
|
2018-12-05 15:58:20 -08:00 |
Kieran Prasch
|
1380fef5ea
|
Remove CLI config tests
|
2018-12-05 15:58:20 -08:00 |
Kieran Prasch
|
9bd96cb64a
|
tiny touch ups
|
2018-12-05 15:58:20 -08:00 |
Kieran Prasch
|
d0e023ba03
|
Fixes nucypher-deploy entry point
|
2018-12-05 15:58:20 -08:00 |
Kieran Prasch
|
1f820e0659
|
Prepare test for cli namespace change and formal cli module
|
2018-12-05 15:58:20 -08:00 |
Kieran Prasch
|
6070409045
|
Disable file logging during tests
|
2018-12-05 15:57:21 -08:00 |
Kieran Prasch
|
03428ab412
|
relocate CLI script and remap entrypoint
|
2018-12-05 15:57:21 -08:00 |
jMyles
|
1a9a9cb83e
|
Don't save any previously saved states, even if the 'new' one is not the current one.
|
2018-12-05 15:57:21 -08:00 |
jMyles
|
b314345c36
|
Default LogLevel for tests is now 'info'
|
2018-12-05 15:57:21 -08:00 |
jMyles
|
cb202ff371
|
Record node snapshots only at the end of a learning round, not every time a node is remembered.
|
2018-12-05 15:57:21 -08:00 |
K Prasch
|
892f926e6e
|
Merge pull request #584 from cygnusv/alice-decrypts
Alice can decrypt data encrypted for her policies
|
2018-12-03 15:29:20 -08:00 |
David Núñez
|
6de99512eb
|
Merge pull request #521 from tuxxy/fourth-annual-updated-revoke
Implement Revoke
|
2018-12-03 23:23:53 +01:00 |
David Núñez
|
4ab7ad1252
|
DataSource.encapsulate_single_message() --> DataSource.encrypt_message()
|
2018-12-03 12:07:33 +01:00 |
David Núñez
|
bb0de18dac
|
Some type hints here and there
|
2018-12-03 12:07:28 +01:00 |
tuxxy
|
398d854f7f
|
Add revocation integration test (thanks @cyngusv) to test_bob_joins_policy_and_retreives
|
2018-11-30 13:18:13 -07:00 |
David Núñez
|
bad8d9062b
|
Delegator's verifying key should already be as correctness key in the capsule
|
2018-11-29 16:14:34 +01:00 |
David Núñez
|
92ce6321fa
|
Test Alice can decrypt . It fails. (yikes!)
|
2018-11-29 16:14:18 +01:00 |
tuxxy
|
da7ca8d13e
|
Move Revocation to its own class
|
2018-11-21 12:07:13 -07:00 |
tuxxy
|
db96bb13c0
|
Return a tuple of (Revocaton, None) when revoke_arrangement returns 404
|
2018-11-19 16:44:38 -07:00 |
tuxxy
|
a12c9b1134
|
Use DELETE method for RESTful call to revoke_arrangement
|
2018-11-19 16:44:38 -07:00 |
tuxxy
|
c130df05f3
|
Add test_revocation
|
2018-11-19 16:44:38 -07:00 |
tuxxy
|
0ddfa230de
|
Refactor to use new RevocationKit
|
2018-11-19 16:44:38 -07:00 |
tuxxy
|
57db0e8639
|
Test alice_can_grant_and_revoke and add revoke_arrangement to MockRestMiddleware
|
2018-11-19 16:44:38 -07:00 |
Kieran Prasch
|
704f41a744
|
Refactor node storages backend tests; Accomodate pytest>4
|
2018-11-19 23:53:44 +01:00 |
Kieran Prasch
|
844c2a4674
|
Refactor node storages backend tests; Accomodate pytest>4
|
2018-11-16 14:26:31 -08:00 |
jMyles
|
fea6b6a258
|
Tests now reflect state changes.
|
2018-11-16 10:26:29 -08:00 |
jMyles
|
458b999ddd
|
Moved away from treating known_nodes as a dict throughout.
|
2018-11-16 10:24:26 -08:00 |
jMyles
|
71bbc2772c
|
Nodes can directly iterate and introspect known_nodes now.
|
2018-11-16 10:24:26 -08:00 |
jMyles
|
31f66cf071
|
Past fleet state as a param during learning; only learn if there's a difference.
|
2018-11-16 10:22:59 -08:00 |
jMyles
|
17d0a245da
|
Small fixes for tests to match FleetState updating logic.
|
2018-11-11 06:25:53 -08:00 |
jMyles
|
e9804e2fb0
|
Tests specifically for learning.
|
2018-11-10 20:55:26 -08:00 |
jMyles
|
6bdfd1e3cd
|
Once Ursula is fully loaded, then we'll update FleetState.
|
2018-11-10 20:52:36 -08:00 |
Kieran Prasch
|
6de086b2a9
|
skip leaky string validator
|
2018-11-10 12:47:30 -08:00 |
K Prasch
|
7b6a65f37b
|
Merge pull request #531 from cygnusv/keyring
Persistent DelegatingPower
|
2018-11-10 12:17:45 -08:00 |
Kieran Prasch
|
2f1e6eec20
|
Test database teardown logic
|
2018-11-09 09:30:15 -08:00 |
Kieran Prasch
|
c45e534823
|
Understand nucypher CLI to be a module
|
2018-11-09 09:29:49 -08:00 |
Kieran Prasch
|
21f8c4fb8a
|
Make federated-only the CLI default
|
2018-11-09 08:53:36 -08:00 |
Kieran Prasch
|
1444650230
|
Include pytest fixtures via plugin injection method.
|
2018-11-09 07:49:31 -08:00 |
Kieran Prasch
|
19350c524d
|
Understand cli.py to be a script
|
2018-11-09 07:49:31 -08:00 |
Kieran Prasch
|
d316796aff
|
Use conventional top-level package structures
|
2018-11-09 07:43:31 -08:00 |
David Núñez
|
3773acd432
|
Generalize Alice's DelegationPower test to other powers
|
2018-11-08 12:50:13 +01:00 |
David Núñez
|
15269d5d0e
|
Initial testing of Keyring
|
2018-11-08 12:50:13 +01:00 |
David Núñez
|
608d468b26
|
Testing persistence of Alice's DelegatingPower
|
2018-11-08 12:07:12 +01:00 |
David Núñez
|
b64ad0de46
|
Base64 encoding of serialized public keys in Keypairs
|
2018-11-08 12:06:50 +01:00 |
David Núñez
|
a2c6618b41
|
Janitorial stuff
|
2018-11-08 12:06:35 +01:00 |
Kieran Prasch
|
ce5ed3dc76
|
Further reduce sentry scope. Thin CLI API; Pretty Loggers; Cleanup cruft
|
2018-11-06 23:17:46 +01:00 |
Kieran Prasch
|
0fefd7d64e
|
Tasty breadcrumbs; Cleanup stale logging methods, make pretty.
|
2018-11-06 23:17:46 +01:00 |
jMyles
|
ef0ccff29b
|
Sentry logging in CLI only.
|
2018-11-06 23:17:46 +01:00 |
Kieran Prasch
|
7124364415
|
Skip S3 Storages Tests - Bump Solc version. Organize Pipfile.
|
2018-11-06 16:30:35 +01:00 |
K Prasch
|
6bf1a2d90f
|
Merge pull request #516 from tuxxy/naughty-sentry
Don't report to Sentry if pytest is running
|
2018-11-06 16:27:36 +01:00 |
K Prasch
|
ae8c087cd4
|
Merge branch 'cedar' into install-communism
|
2018-11-06 16:23:52 +01:00 |
tuxxy
|
98f7d3e213
|
Remove Sentry logging if pytest is running
|
2018-11-05 06:15:38 -07:00 |
Tux
|
883ad1dda1
|
Merge branch 'cedar' into install-communism
|
2018-11-05 06:09:49 -07:00 |
K Prasch
|
e987b0badd
|
Merge pull request #496 from KPrasch/deployment
Federated Deployment Automation
|
2018-11-05 11:57:09 +01:00 |
tuxxy
|
7feabb6cb2
|
Add GPLv3 -- nucypher is free as in freedom
|
2018-11-04 13:16:42 -07:00 |
jMyles
|
dbd96f3689
|
Stopping learning at end of tests; using Twisted logs for tests.
|
2018-11-03 22:48:11 +01:00 |
David Núñez
|
f878e5d910
|
Clarification of some tests for Bob
|
2018-11-02 21:03:36 +01:00 |
David Núñez
|
69515ff97a
|
Fix missing steps for test federated Bob.retrieves()
|
2018-10-29 12:40:34 +01:00 |
David Núñez
|
812a2b0c91
|
Test for Bob.join_policy() in a separate test module. Fixes #233
|
2018-10-29 12:10:00 +01:00 |
David Núñez
|
310e2f3a55
|
Move certificates_temdir fixture to fixtures module
|
2018-10-29 01:52:01 +01:00 |
David Núñez
|
7f6b791d0d
|
Umbral release already has KFrag.__repr___
|
2018-10-29 01:52:01 +01:00 |
David Núñez
|
e13ef06787
|
Some pending renamings (uri -> label, signing_key -> verifying_key)
|
2018-10-29 01:51:56 +01:00 |
David Núñez
|
1819f9b1af
|
Fixture for Data source must include the label
|
2018-10-28 20:08:59 +01:00 |
David Núñez
|
dddd76e023
|
High-level test of Bob.retrieves()
|
2018-10-28 20:05:19 +01:00 |
David Núñez
|
ef21977cb6
|
Update tests/characters/test_bob_handles_frags.py
Co-Authored-By: jMyles <justin@justinholmes.com>
|
2018-10-27 23:27:35 +02:00 |
jMyles
|
59ff623949
|
Ursulas signs CFrags. Fixes #141.
|
2018-10-27 23:27:35 +02:00 |
jMyles
|
6ee0c606f5
|
Fixing test race condition.
|
2018-10-27 23:26:33 +02:00 |
jMyles
|
b1aef7fdb3
|
Changing remaining 'bootnode' references to 'seednode'.
|
2018-10-27 22:36:02 +02:00 |
jMyles
|
a71784a8c6
|
A real test showing the seed node giving its cert via hendrix.
|
2018-10-27 22:36:02 +02:00 |
jMyles
|
2eb27f3f68
|
Better test for node storage in learning loop.
|
2018-10-27 22:36:02 +02:00 |
jMyles
|
0ba7db7970
|
node storage commented out, lots of slow tests skipped, but things pass now.
|
2018-10-27 22:20:05 +02:00 |
jMyles
|
eae0e12ed5
|
Initial test for firstula situation.
|
2018-10-27 22:20:05 +02:00 |
jMyles
|
34f6c73b2e
|
Seed nodes can now be passed separately to bootstrap learning loop.
|
2018-10-27 22:20:05 +02:00 |
Justin Holmes
|
4e3054a020
|
Merge pull request #484 from KPrasch/user-escrow
`UserEscrow` Agent & Deployer; Entity layer testing
|
2018-10-27 22:14:05 +02:00 |
Kieran R. Prasch
|
eec736d340
|
Deprecate arming in favor of readiness checks; Generate a default DB name for Ursulas.
|
2018-10-27 21:51:32 +02:00 |
Kieran R. Prasch
|
dafb181513
|
Tests UserEscrow Agency
|
2018-10-27 21:51:32 +02:00 |
Kieran R. Prasch
|
46c0e96d81
|
Seed node discovery contract and tests
|
2018-10-27 21:51:32 +02:00 |
Kieran Prasch
|
4f2c8a8352
|
Let Deployer attach an allocation registry or deployer address to it's interface at startup.
|
2018-10-27 21:51:32 +02:00 |
Kieran Prasch
|
4c01385416
|
Tests deployment and agency components with layering in mind, (Includes UserEscrow) mirrors lower level tests with higher-level integration points
|
2018-10-27 21:51:28 +02:00 |
Tux
|
a86677bb6a
|
Merge pull request #480 from KPrasch/keyring-hosting-power
Keyring Derived TLSHostingPower
|
2018-10-25 14:10:33 +02:00 |
David Núñez
|
3526f18980
|
Renaming some variables
|
2018-10-19 03:11:34 +02:00 |
Kieran Prasch
|
0fad80a3e3
|
Draft of test for deployment actor
|
2018-10-17 09:34:53 -07:00 |
Kieran Prasch
|
b3b644f7a0
|
Agent and deployer layer testing, including beneficiary contracts
|
2018-10-17 09:33:30 -07:00 |
Kieran Prasch
|
db384bf7c2
|
Keep compiler test module from being left beind: needs cleanup
|
2018-10-16 12:54:02 -07:00 |
Kieran Prasch
|
974cc23058
|
Agency transaction usage bug fixes
|
2018-10-16 12:51:49 -07:00 |
Kieran Prasch
|
c37683ee35
|
Builds out test agent test layer; Reorganizes non-federated test modules
|
2018-10-16 12:46:30 -07:00 |
Kieran Prasch
|
92d4434df6
|
Prepare to subdivide non-federated test suite modules; Cleanup
|
2018-10-16 12:43:29 -07:00 |
Kieran Prasch
|
e1fdef9011
|
nucypher-cli -> nucypher; CLI cleanup
|
2018-10-14 20:25:37 -07:00 |
Kieran Prasch
|
5f84157b96
|
Derive HostingPower from Keyring
|
2018-10-14 20:19:02 -07:00 |
K Prasch
|
ab22d5db93
|
Merge pull request #476 from KPrasch/storages
Configurable Node Storages
|
2018-10-12 09:23:51 -07:00 |
K Prasch
|
d0316ca7da
|
Merge pull request #473 from tuxxy/impeach-kademliavanaugh
Remove Kademlia digest function
|
2018-10-11 11:47:40 -07:00 |
Kieran Prasch
|
a945508a30
|
Keep default NodeStorages in memory, Unskip and resotre configuration cli tests
|
2018-10-09 23:42:43 -07:00 |
Kieran Prasch
|
c31906b067
|
Improved NodeStorage test accuracy and coverage; Mock S3
|
2018-10-09 23:41:23 -07:00 |
Kieran Prasch
|
1edc9773d7
|
Test coverage for NodeStorages; Mocked LocalFile and S3 Backends
|
2018-10-09 23:41:23 -07:00 |
Kieran Prasch
|
f13910c365
|
Dont load metadata in test configurations
|
2018-10-08 11:22:28 -07:00 |
tuxxy
|
b6d555e7d2
|
Remove kademlia digest function and replace it with keccak_digest
|
2018-10-07 14:44:04 -06:00 |
Kieran Prasch
|
888a4d4382
|
Character pre-init logic for keying in dev mode and for pre-existing accounts
|
2018-10-05 20:17:13 -07:00 |
Kieran Prasch
|
3a31468512
|
Running multi-host env via CLI; Temp config keyring handling
|
2018-10-05 20:17:13 -07:00 |
Kieran Prasch
|
fe84935768
|
Create configurations to/from JSON files
|
2018-10-05 20:17:13 -07:00 |
Kieran Prasch
|
99532d581a
|
Use click built-in tooling for more eager and through CLI input validation; Document all CLI options.
|
2018-10-02 21:29:23 -07:00 |
Kieran Prasch
|
eea6e5ea01
|
Reintroduce skipped CLI tests; Cleaup non-critical or stale stubs.
|
2018-10-02 21:19:23 -07:00 |
Kieran Prasch
|
5b0eb0003d
|
Allow Vladimir to claim a BlockchainPower on the target Ursula's node; Use EvilMiddleware (skip Vladimir's SSL)
|
2018-10-02 21:19:23 -07:00 |
Kieran Prasch
|
76d8a2efd5
|
deprecate usage of certificates_dir from TLSKeypair and HostingPower
|
2018-10-02 21:19:23 -07:00 |
Kieran Prasch
|
f9cfd597d4
|
Pass TLS certificate filepaths into node_information endpoint
|
2018-10-02 11:32:55 -07:00 |
Kieran Prasch
|
ab798bb4f3
|
Carefully piece together NodeConfiguration that works for lazy, temp, test, and real configs; Read seed registry
|
2018-10-02 11:32:55 -07:00 |
Kieran Prasch
|
4ab2807a9f
|
Update test fixture to testerchain netloc URI; Inreaces test coverage for deployer and agent.
|
2018-10-02 11:32:55 -07:00 |
Kieran Prasch
|
8663bae64e
|
Dedicated method for writing the default blank registry at installation-time; Use no_seed_registry configuration during tests
|
2018-10-02 11:32:44 -07:00 |
jMyles
|
6aeb36ef70
|
(failing) test showing Alice only accepting latest node by timestamp.
|
2018-10-02 19:41:02 +02:00 |
jMyles
|
217d7b49a8
|
A few test things: Adding MockRestMiddleware where appropriate and expressly setting Ursula's verified_stamp status to False to show that it gets set to True during verification.
|
2018-10-02 17:33:53 +02:00 |
jMyles
|
369e87e829
|
Signed interface info messages includes timestamp.
|
2018-10-02 17:32:46 +02:00 |
tuxxy
|
bd3f19c7e7
|
Add test for Ursula serialization
|
2018-09-28 12:47:12 -06:00 |
Kieran Prasch
|
e60706793a
|
Optimize imports project-wide
|
2018-09-25 20:27:27 -07:00 |
Kieran Prasch
|
f8aa879ac1
|
touch-up character function signitures; touch-up blockchain test assertion errors
|
2018-09-25 20:26:49 -07:00 |
Kieran Prasch
|
7e04dd117b
|
Use static blockchain constants, removes ConstantSorrow usage for static values
|
2018-09-25 20:26:44 -07:00 |
Kieran Prasch
|
d84014a35f
|
Cast constant_sorrow constant to int
|
2018-09-25 10:15:01 -07:00 |
Kieran Prasch
|
ef31fb944c
|
Resolve CI ImportErrors
|
2018-09-25 09:47:42 -07:00 |
Kieran Prasch
|
d6fc416a79
|
remove extra time travel (moved to ursula fixture)
|
2018-09-25 09:28:48 -07:00 |
Kieran Prasch
|
4b7fcd318e
|
split Alice.grant test by operating mode; Cleanup BlockchainPolicy in preperation for futher integration.
|
2018-09-24 18:43:01 -07:00 |
Kieran Prasch
|
d02a8bc0bf
|
split Alice and Bob fixtures by operating mode; Cleanup cleanup logic, everywhere
|
2018-09-24 18:43:01 -07:00 |
Kieran Prasch
|
293f9c158c
|
Deprecate CLI demo module; Respond to RFC & cleanup
|
2018-09-24 18:42:42 -07:00 |
Kieran Prasch
|
9b04aee6d0
|
Update tests with updates to configuration and missleware
|
2018-09-22 21:05:11 -07:00 |
Kieran Prasch
|
aaba33290d
|
Update tests to new learner names, help with cleanup a little.
|
2018-09-22 15:44:37 -07:00 |
Kieran Prasch
|
13764517ac
|
Reflect character initialization logic in NodeConfiguration subclasses; Integrate with local filesystem paths in dev and non-dev modes.
|
2018-09-22 15:43:35 -07:00 |
Kieran Prasch
|
4c02e5cd9e
|
A huge slew of type hints and annotations to help resolve mypy checks
|
2018-09-21 10:16:38 -07:00 |
Kieran Prasch
|
8387602295
|
Skip run_ursula test due to multi calls to reactor.run during tests
|
2018-09-21 09:39:12 -07:00 |
Kieran Prasch
|
2bcc485f93
|
Add local try/finally in cli.config test to cleanup a single test dir
|
2018-09-21 09:03:45 -07:00 |
Kieran Prasch
|
e39ffc8461
|
Work on lazy default configurations; NetworkMiddleware default values
|
2018-09-21 09:03:02 -07:00 |
Kieran Prasch
|
db0219ff24
|
straggler Teacher -> Learner
|
2018-09-20 12:57:23 -07:00 |
Kieran Prasch
|
2384cbf7a0
|
Update fixture chatacter configurations to use local tmpdir
|
2018-09-20 12:54:16 -07:00 |
Kieran Prasch
|
c0cde6778d
|
Test coverage for run_ursula CLI: lone ursula
|
2018-09-20 12:54:16 -07:00 |
jMyles
|
f7447d50e9
|
Fixing the test by copying Ursula's stamp.
|
2018-09-20 14:06:45 +02:00 |
Kieran Prasch
|
d1ffec14c2
|
CLI configuration test coverage; Mark unimplemented test as skip
|
2018-09-19 17:01:01 -07:00 |
Kieran Prasch
|
c2d35c887d
|
Remove temporary databases by database engine path reference
|
2018-09-19 16:26:15 -07:00 |
Kieran Prasch
|
7e403f39a2
|
Use pytest fixtures to cleanup temporary directories
|
2018-09-19 15:25:54 -07:00 |
Kieran Prasch
|
d311c397a1
|
Include dbatabase filepath as a configuration option; Stop spraying databases during tests.
|
2018-09-19 14:30:53 -07:00 |
Kieran Prasch
|
a63a99c3d9
|
Auto-initialize temp configuration in fixtures
|
2018-09-19 13:36:16 -07:00 |
Kieran Prasch
|
5b34800761
|
Use lazy and dynamic runtime path generation, with temp storage options
|
2018-09-19 13:21:11 -07:00 |
Kieran Prasch
|
c23ff73002
|
Working lonely federated node via CLI using UrsulaConfiguration API
|
2018-09-19 21:40:35 +02:00 |
Kieran Prasch
|
f5e0056b5f
|
Update two tests to use ursula configuration fixture
|
2018-09-19 21:40:35 +02:00 |
Kieran Prasch
|
47d50a9e1a
|
Use character configuration test fixtures.
|
2018-09-19 21:40:04 +02:00 |
Kieran Prasch
|
acd2bc1dc6
|
pass only certificate filepath through rest middleware.
|
2018-09-19 21:40:04 +02:00 |
Kieran Prasch
|
a8516ec9ca
|
Import Vladimir's eth keys to the keychain.
|
2018-09-19 21:40:04 +02:00 |
jMyles
|
d92c6fe5c3
|
Bob actually uses federated Ursulas for this test.
|
2018-09-19 21:40:04 +02:00 |
jMyles
|
5b1cb02f2d
|
Erasing test certs in finally clause.
|
2018-09-19 21:40:04 +02:00 |
jMyles
|
e93e259eab
|
Once we have the work order, we don't separetly need the cert path, as it is affixed to the work order's Ursula.
|
2018-09-19 21:40:04 +02:00 |
Kieran Prasch
|
e4fd0647e2
|
Removes anything that mentions the DHT. Kademlia remains.
|
2018-09-18 09:23:31 -07:00 |
Kieran Prasch
|
f8ce7f5520
|
Extract learning logic into abstract Teacher class
|
2018-09-18 09:21:24 -07:00 |
Kieran Prasch
|
f64cfc28f6
|
Improve accounts error handling; Trim non-essential test stubs
|
2018-09-18 09:19:51 -07:00 |
Kieran Prasch
|
31705a7fe6
|
Use temp config in CLI test; Add temp node config fixture
|
2018-09-18 09:19:51 -07:00 |
Kieran Prasch
|
cbe7bc79e3
|
Bifurcate up federated and non-federated ursula generation in tests
|
2018-09-18 09:19:51 -07:00 |
Kieran Prasch
|
96865929b0
|
Updates to use namespaced sandbox utilities; Prepare to split make_ursulas.
|
2018-09-18 09:19:51 -07:00 |
Kieran Prasch
|
f69380a3dd
|
Namespace and modularize nucypher sandbox utilities
|
2018-09-18 09:19:46 -07:00 |
Kieran Prasch
|
bdf522d0a1
|
Remove experimental pyfakefs code
|
2018-09-18 09:18:41 -07:00 |
Kieran R. Prasch
|
7a725fe0ab
|
Include NodeConfiguraion in CLI - Fixup constants, naming, and imports wlongside DHT removal.
|
2018-09-18 09:18:41 -07:00 |
jMyles
|
6389cb329b
|
Much more solid test for Vladimir posing as Ursula.
|
2018-09-12 14:04:33 +02:00 |
jMyles
|
ff90af5a06
|
Some tidying up after all the shifting around.
|
2018-09-12 14:04:02 +02:00 |
jMyles
|
127c98816c
|
Moving Characters to characters.lawful, in preparation for (now) the introduction of Vladimir and (not now) the introduction of a factory-style Character creation flow.
|
2018-09-12 13:58:13 +02:00 |
jMyles
|
4413dc952c
|
More hacking and slashing on the DHT removal and config sanity.
|
2018-09-11 00:41:44 +02:00 |
Kieran R. Prasch
|
a8dba1b738
|
Use class-based injectable configuration; Continue to Extricate DHT violently.
|
2018-09-11 00:29:28 +02:00 |
Kieran R. Prasch
|
77766933fa
|
Node storage classmethods, Stub fs isolation with tempdir
|
2018-09-11 00:29:28 +02:00 |
Kieran R. Prasch
|
f7c0d7959e
|
Entry points for saving TLS certs + Network Middleware updates for TLS verification.
|
2018-09-11 00:29:28 +02:00 |
Kieran R. Prasch
|
22823ee88c
|
Executes node learning from CLI
|
2018-09-10 16:13:06 +02:00 |
Kieran R. Prasch
|
a6a219cbb0
|
Integrate downstream changes, from PR #424
|
2018-09-10 16:13:06 +02:00 |
Kieran R. Prasch
|
198071e21e
|
Remane nucypher CLI module; Additional CLI testing stubs for debugging ease.
|
2018-09-10 16:13:06 +02:00 |
Kieran R. Prasch
|
1288fc19f9
|
Stub CLI tests: One test module per command.
|
2018-09-10 16:13:06 +02:00 |
Kieran R. Prasch
|
dfebbe55ff
|
Add CLI test modules
|
2018-09-10 16:13:06 +02:00 |
Kieran R. Prasch
|
e88eb9a138
|
Add Initial nucypher-cli (click) tests module
|
2018-09-10 16:13:06 +02:00 |
jMyles
|
f80b0ca9e4
|
Fixes and smoothing the recent cherry-pick; making a smooth surface for Kokonusswasser.
|
2018-09-10 16:12:43 +02:00 |
jMyles
|
0b070ec38a
|
Lots of test touch-ups.
|
2018-09-06 21:01:44 +02:00 |
jMyles
|
7bf42d8990
|
Uncorked stake (ie, Ursula doesn't stake really for tests) and removed skips.
|
2018-09-06 21:01:43 +02:00 |
jMyles
|
07fe4f9b30
|
Simpler InterfaceInfo. Loopback literals are now localhost.
|
2018-09-06 21:01:42 +02:00 |
jMyles
|
aa0bd30569
|
Test showing that node can be verified with certificate.
|
2018-09-06 20:59:07 +02:00 |
jMyles
|
f5a0b2cd95
|
These tests are a little funny for the moment. Need to skip them until we get stake() working properly again.
|
2018-09-06 20:56:17 +02:00 |
jMyles
|
6cc7194f95
|
Undoing some of @kprasch's partial pasting practice.
|
2018-09-06 20:56:16 +02:00 |
K Prasch
|
d558c43e4a
|
Merge pull request #423 from tuxxy/flag-utils
Flag some utilities as testing-only utilities
|
2018-09-06 06:07:27 -07:00 |
tuxxy
|
d0301a7818
|
Fix imports for restructured test utilities
|
2018-09-06 06:55:28 -06:00 |
szotov
|
953054af9a
|
Added rounding of time for the first period in some tests (issue #385)
|
2018-09-01 16:23:42 +03:00 |
szotov
|
204d3674af
|
Added checking of secret in the upgrading method in the user escrow contract
|
2018-09-01 16:13:42 +03:00 |
szotov
|
86e5df2585
|
Renamed `downtime` to `pastDowntime` in the MinersEscrow contract
|
2018-09-01 15:59:00 +03:00 |
szotov
|
c75cd0e330
|
Fixed upgrade contracts test in test_integration.py
|
2018-09-01 15:46:41 +03:00 |
szotov
|
e1b4c82723
|
Added checking of secret in the upgrading method in the dispatcher contract
|
2018-09-01 15:46:40 +03:00 |
szotov
|
9db9b6c4ee
|
Improved comments on tests, added comments to the mining coefficients in constants.py
|
2018-09-01 15:11:59 +03:00 |
szotov
|
40a77d0414
|
Removed government contract
|
2018-09-01 14:50:41 +03:00 |
Kieran R. Prasch
|
06e0575642
|
Small bug fixes, post-rebase madness
|
2018-08-31 15:17:12 -07:00 |
Kieran R. Prasch
|
4de47ddd3d
|
remove stale module
|
2018-08-31 12:30:57 -07:00 |
Kieran R. Prasch
|
390b01fb2d
|
Use kprasch's fork of eth-tester; Integrate the downstream changes from PR #123
|
2018-08-31 12:22:42 -07:00 |
jMyles
|
b40707eeeb
|
Uncorked stake (ie, Ursula doesn't stake really for tests) and removed skips.
|
2018-08-31 12:21:05 -07:00 |
jMyles
|
785bc95626
|
Simpler InterfaceInfo. Loopback literals are now localhost.
|
2018-08-31 12:21:05 -07:00 |
jMyles
|
29039ddfa6
|
Powers no longer yield public keys specifically, but public material generally of any type.
|
2018-08-31 12:20:30 -07:00 |
jMyles
|
093f755dc0
|
Test showing that node can be verified with certificate.
|
2018-08-31 12:20:30 -07:00 |
jMyles
|
3329164f86
|
These tests are a little funny for the moment. Need to skip them until we get stake() working properly again.
|
2018-08-31 12:20:30 -07:00 |
jMyles
|
bd41f34a70
|
Undoing some of @kprasch's partial pasting practice.
|
2018-08-31 12:20:30 -07:00 |
Kieran Prasch
|
136b485664
|
Update pyevm backend subclass, use URI for provider connection
|
2018-08-31 12:20:29 -07:00 |
Kieran Prasch
|
d23a05536c
|
Project-wide automated import optimization, followed-up with some hand-tweaking
|
2018-08-31 12:15:55 -07:00 |
Kieran Prasch
|
0cc2f3792f
|
CircleCI: directly use install solc script to dodge pipenv api changes
|
2018-08-31 12:11:45 -07:00 |
Kieran Prasch
|
1f63046ed2
|
Bifurcate interfaces module; Circumflex -> Interface
|
2018-08-31 12:05:29 -07:00 |
Kieran Prasch
|
3154fb97b6
|
Project-wide automated import optimization, followed-up with some hand-tweaking
|
2018-08-31 11:55:04 -07:00 |
Kieran Prasch
|
8e1c8eb375
|
CircleCI: directly use install solc script to dodge pipenv api changes
|
2018-08-31 11:50:19 -07:00 |
Kieran Prasch
|
d8d227309f
|
Bifurcate interfaces module; Circumflex -> Interface
|
2018-08-31 11:47:42 -07:00 |
Kieran Prasch
|
70437a76fc
|
Reorganize contract test module, and fixtures, to save on gas.
|
2018-08-31 11:47:42 -07:00 |
Kieran Prasch
|
b6815f52ac
|
Create blank ini config via cli command
|
2018-08-31 11:47:42 -07:00 |
Kieran Prasch
|
98f9b7f4c9
|
Update pyevm backend subclass, use URI for provider connection
|
2018-08-31 11:47:38 -07:00 |
Kieran Prasch
|
a59990f022
|
Give UrsulaProcessProtocol some output, and store its run commands.
|
2018-08-31 11:34:21 -07:00 |
Kieran Prasch
|
a71cb13730
|
Project-wide automated import optimization, followed-up with some hand-tweaking
|
2018-08-31 11:33:43 -07:00 |
Kieran Prasch
|
c177260684
|
CircleCI: directly use install solc script to dodge pipenv api changes
|
2018-08-31 11:31:47 -07:00 |
Kieran Prasch
|
9bc4b80984
|
Remove duplicated test ursula cache
|
2018-08-31 11:28:01 -07:00 |
Kieran Prasch
|
b770ca7725
|
Fixes Inaccurate error testing for unknown contracts.
|
2018-08-31 11:28:01 -07:00 |
Kieran Prasch
|
f5c9f19b70
|
Project-wide automated import optimization, followed-up with some hand-tweaking
|
2018-08-31 11:27:59 -07:00 |
Kieran Prasch
|
f8e5d58f89
|
Project-wide automated import optimization, followed-up with some hand-tweaking
|
2018-08-31 11:24:08 -07:00 |
Kieran Prasch
|
f1917560a6
|
CircleCI: directly use install solc script to dodge pipenv api changes
|
2018-08-31 11:19:45 -07:00 |
Kieran Prasch
|
0601094d3f
|
Fix several bad imports post-rebase
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
b5e029a4ca
|
Support dynamicly added, lazy, multiple blockchain providers
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
4df1f077fb
|
add demo action to simulation command
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
ffa70a117d
|
Running federated ursula from CLI - Centralizes runtime cruft with injectable overrides while still considering ini config values.
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
e92621bc91
|
Keep top-level test importable for fixture availibility
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
66e6517414
|
Deprecate old config usage, Remove bad imports
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
5319ca4d02
|
Strips old versions of from_config; CLI minor bug fixes
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
905a0151fb
|
keep contract tests passing alongside api changes (intermediate)
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
979d5e8def
|
Eliminate __init__.py under any test directory; Relocate utilities.
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
177cca303e
|
Delay the initialization of agents during CLI runtime + small missing kwarg fix.
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
6d5de0909d
|
Restore no-arg spawProcess call; Fix network status cli command bugs; Add saftey warnings.
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
dea2f4cb67
|
Add options to fake network bootstrap
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
2f19b262c4
|
Small bug fixes
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
e7e4927175
|
Deprecate old config usage, Remove bad imports
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
4fd09802ff
|
CircleCI: directly use install solc script to dodge pipenv api changes
|
2018-08-31 10:53:18 -07:00 |
Kieran Prasch
|
db9775752e
|
Strips old versions of from_config; CLI minor bug fixes
|
2018-08-31 10:52:19 -07:00 |
Kieran Prasch
|
59f298c9d2
|
update pipfile with ordering and comments, and active dev packages for WIP
|
2018-08-31 10:52:19 -07:00 |
Kieran Prasch
|
a6add37ede
|
Extrapolate test utils submodules
|
2018-08-31 10:52:19 -07:00 |
Kieran Prasch
|
9535a80c52
|
clean-up test utils modules
|
2018-08-31 10:52:19 -07:00 |
Kieran Prasch
|
12148a8d57
|
Clean-up imports, fixes downstream changes from pyUmbral; re-handle key importing util.
|
2018-08-31 10:52:19 -07:00 |
jMyles
|
64a040d7ef
|
Making public and private key separate arguments to keypair.
|
2018-07-20 19:05:04 -07:00 |
jMyles
|
188d301f61
|
Blockchain test compatibility in make_ursulas.
|
2018-07-19 20:19:24 -07:00 |
jMyles
|
b551067603
|
Making a distinction between blocking until some number of nodes (any nodes) are learned and blocking until some specific set of nodes are learned.
|
2018-07-18 20:20:20 -07:00 |
jMyles
|
a4664f7688
|
Updating mock middleware to work with node announcement.
|
2018-07-18 20:20:20 -07:00 |
jMyles
|
417884a791
|
Some cleanup for make_ursulas. Lots more to do. #347
|
2018-07-18 20:20:20 -07:00 |
jMyles
|
62a98a2b71
|
Test for Ursula announcing herself on launch.
|
2018-07-18 20:20:20 -07:00 |
jMyles
|
de303c5244
|
Introducting TLSHostingPower. Ursula no longer needs to handle the cert or private_key - instead, she just generates a deployer.
|
2018-07-18 20:17:15 -07:00 |
jMyles
|
0d6bd518db
|
Using checksum address in known_nodes and TreasureMaps.
|
2018-07-18 20:17:15 -07:00 |
szotov
|
d991ca7ba3
|
Minor improvements for Windows compatibility
|
2018-07-17 22:39:12 +03:00 |
tuxxy
|
5727898452
|
Remove from and fix tests
|
2018-07-16 19:44:46 -06:00 |
jMyles
|
a48fa83857
|
Curve object for new pyUmbral version.
|
2018-07-13 12:14:28 -07:00 |
jMyles
|
cb80379ff1
|
Bringing tests up to date with new semantics.
|
2018-07-13 12:12:28 -07:00 |
jMyles
|
0ca384c87e
|
This test is irrelevant now that we test the learning loop directly.
|
2018-07-13 12:10:58 -07:00 |
jMyles
|
f721d64d09
|
Finished fetching logic for Arrangements. Fixes #180.
|
2018-07-13 11:04:52 -07:00 |
jMyles
|
2f8f087202
|
New Arrangement ID and new TreasureMap for the same. #180 nearly complete; need unpacking logic.
|
2018-07-13 11:04:52 -07:00 |
Michael Egorov
|
9f8f0053b2
|
Merge pull request #286 from nucypher/coffee
Coffee
|
2018-07-10 15:03:36 -07:00 |
jMyles
|
39e6433761
|
Passing bytes-in / bytes-out instead of eth_keys Signature object.
|
2018-07-10 10:14:42 -07:00 |
jMyles
|
a88052c9a2
|
Separating blockchain Alice from regular ole' Alice. Style touch-ups.
|
2018-07-10 10:14:42 -07:00 |
jMyles
|
d8a5a4a110
|
Verification logic by public address. Fixes #353.
|
2018-07-10 10:14:42 -07:00 |
jMyles
|
eddcf0f5f0
|
Test for stamp evidence.
|
2018-07-10 10:14:42 -07:00 |
szotov
|
ff71b58029
|
Finished the upgradeable UserEscrow contract, contracts mocks are combined into test sets
|
2018-07-06 21:17:02 +03:00 |
szotov
|
9f7c662ea4
|
Draft of an upgradeable user escrow
|
2018-07-06 21:17:02 +03:00 |
jMyles
|
8f8b28f0d2
|
Test fixups.
|
2018-07-05 11:54:45 -07:00 |
jMyles
|
2e96c1620a
|
Passing checksum_address where it's needed.
|
2018-07-05 11:54:45 -07:00 |
Kieran Prasch
|
162c542df4
|
Combine and reorganize fixture modules
|
2018-07-05 11:54:45 -07:00 |
jMyles
|
7cf5bbf3f2
|
Fixed up args and kwargs for Character (although needs some organization).
|
2018-07-05 11:54:45 -07:00 |
jMyles
|
bcc159367f
|
Fixing up tests.
|
2018-07-05 11:54:45 -07:00 |
jMyles
|
bd215d975a
|
Using three_agents for miner fixture.
|
2018-07-05 11:54:45 -07:00 |
jMyles
|
cc5d6ef52a
|
Beginnings of Character serialization tests.
|
2018-07-02 20:44:09 -07:00 |
jMyles
|
303b4dfc8c
|
More test touchups and fixture organization, in anticipation of #338.
|
2018-07-02 20:44:09 -07:00 |
jMyles
|
2776928eda
|
Fixing Bob up!
|
2018-07-02 20:44:09 -07:00 |
jMyles
|
22065fd61e
|
Some cleanup on models following the big TreasureMap changes.
|
2018-07-02 20:44:09 -07:00 |
jMyles
|
aab0e405a9
|
Cleaning up some uses of deprecated fixtures.
|
2018-07-02 20:44:09 -07:00 |
jMyles
|
90c0044394
|
There's really no point to specifying REST details - if you want to learn from a specific node, just make it your next teacher.
|
2018-07-02 20:44:09 -07:00 |
jMyles
|
590c4dbe75
|
Learning Loop eagerness now defaults to False, with a sanity check. Also, a skeleton of a test. See #311.
|
2018-07-02 20:44:09 -07:00 |
Kieran Prasch
|
ef69c6249a
|
Remove geth fixtures... for now.
|
2018-06-27 13:02:45 -07:00 |
Kieran Prasch
|
e96e5fc95e
|
Respond to request for changes.
|
2018-06-26 16:15:11 -07:00 |
Kieran Prasch
|
54d939c81a
|
Allow creation of 'bare' ursula in utils.
|
2018-06-26 01:10:45 -07:00 |
Kieran Prasch
|
8204351b6f
|
Integrate three agents with existing fixtures, restore token airdrop as a utility function.
|
2018-06-26 01:10:45 -07:00 |
Kieran Prasch
|
4c69809af9
|
Keep fixtures up to date with registry changes; Deprecate or relocate some test utilities.
|
2018-06-26 01:10:45 -07:00 |
Kieran Prasch
|
eb55117996
|
Prepares flattened contract registry for integration with circumflex.
|
2018-06-26 01:10:45 -07:00 |
Kieran Prasch
|
6807ac0bfc
|
Reorganize blockchain tests, remove stale test modules.
|
2018-06-26 01:10:45 -07:00 |
Kieran R Prasch
|
f3d6c40ef0
|
Refactor registry tests for proxy contracts.
|
2018-06-26 01:10:45 -07:00 |
Kieran R Prasch
|
c2be534188
|
Refactor registry usage, erorr handling, first pass.
|
2018-06-26 01:10:45 -07:00 |
Kieran Prasch
|
fd8657930f
|
Fix registry syntax and import errors.
|
2018-06-26 01:10:45 -07:00 |
tuxxy
|
41a533cb6f
|
Have lookup_contract search better
|
2018-06-26 01:10:45 -07:00 |
tuxxy
|
9696821a98
|
Add test for BlockchainPower
|
2018-06-26 01:58:04 -06:00 |
jMyles
|
edba3a336d
|
Using to_canonical_address instead of unhexlify.
|
2018-06-23 14:33:46 -07:00 |
jMyles
|
cced06514d
|
Catching tests up with federated logic.
|
2018-06-22 20:28:08 -07:00 |
jMyles
|
fb8747274a
|
Totally new logic for test_grant for federated case.
|
2018-06-22 20:27:43 -07:00 |
jMyles
|
742a00e799
|
Deprecating testerchain in favor of three_agents. Using three_agents in ursulas fixture. This fixture now returns a set.
|
2018-06-22 20:27:15 -07:00 |
jMyles
|
2d9d25ab8a
|
Using token airdrop and dropping MockTokenAgent.
|
2018-06-22 20:23:18 -07:00 |
jMyles
|
766acca7bf
|
known_nodes is now private _known_nodes.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
e7375e0d98
|
Removing is_federated and using federated_only instead.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
b2e5d9958e
|
Evolved tests and fixtures. Mocking some blockchain logic and discovered Ursulas with learning loop.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
6e3814cee2
|
token_airdrop as a utility function.
|
2018-06-22 20:17:57 -07:00 |
Michael Egorov
|
ab955416cf
|
High level ecomomic params
|
2018-06-21 19:19:10 -07:00 |
jMyles
|
6b0e3cf92d
|
We don't even use MockTokenAgent anymore.
|
2018-06-20 14:57:29 -07:00 |
szotov
|
944a9db66b
|
Added constant for policy id length, fixed descriptions of some methods
|
2018-06-20 10:14:25 -07:00 |
szotov
|
f6736da2bf
|
Reduces size of variables in contracts
|
2018-06-20 10:13:47 -07:00 |
szotov
|
e0139897db
|
Improved the sample method in MinersEscrow and in agent. Some refactoring
|
2018-06-20 10:13:47 -07:00 |
szotov
|
2999110c16
|
Removes minerIds and datastore
|
2018-06-20 10:13:44 -07:00 |
jMyles
|
e4253b6c5d
|
Including Ursula ether address as part of public information.
|
2018-06-20 10:13:26 -07:00 |
jMyles
|
36b86eb6bb
|
Implementing InterfaceInfo.
|
2018-06-20 10:13:26 -07:00 |
jMyles
|
0c7646fa94
|
Working known_nodes into fixtures and tests.
|
2018-06-20 10:13:26 -07:00 |
Kieran R Prasch
|
bdbef9b0d6
|
Deprecate node contract datastore client methods
|
2018-06-20 10:13:26 -07:00 |
szotov
|
eccef48005
|
Fixes stake division for the actors and agents
|
2018-06-20 10:12:50 -07:00 |
szotov
|
8595355d41
|
Using index of stake in the divideStake method in the contract
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
9981847bd6
|
draft miner divide stake public method
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
57975f71f5
|
Keep tests up-to-date; Create convention for test accounts, adds miners fixture, use properties and injected deployer_addresses.
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
c75425615f
|
Fixes miner entity test failure, multi-path fixture resolution issues
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
1133faa215
|
Update node contract datastore tests
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
27ffc557ad
|
Updates tests and utilities with blockchain-representable characters
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
c442d1cd95
|
Make miner contract datastore methods private
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
7a35c4b24b
|
Hack together MockRestMiddleware, temp fix until implementing node learning.
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
c1857847d2
|
Update actor tests with testerchain renaming.
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
616a3001bb
|
Update miner contract datastore tests with caching ability
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
db5856f932
|
Lazify reading the miners contract datastore with a cached iterator.
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
31f07e9ba7
|
Subclass UmbralPrivate key, Use Umbral keys to make test accounts.
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
820f41bdc0
|
Blockchain make arrangement lock periods, and consideration
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
4af2037bbf
|
Decouple blockchain operations, expand Policy and Arrangement types.
|
2018-06-20 10:12:47 -07:00 |
Kieran Prasch
|
e2eb556e10
|
Middleware -> RestMiddleware
|
2018-06-20 10:12:27 -07:00 |
Kieran Prasch
|
94d94d3407
|
Additional deprecation of alice DHT usage.
|
2018-06-20 10:12:27 -07:00 |
jMyles
|
00d0e64c7e
|
Goodbye nucypher_test_config.
|
2018-06-20 10:12:26 -07:00 |
jMyles
|
196e2bc0da
|
ArrangementResponse never really made sense.
|
2018-06-20 10:12:26 -07:00 |
jMyles
|
a02a252d3d
|
Style fixes.
|
2018-06-20 10:12:26 -07:00 |
Kieran Prasch
|
e37de07ec0
|
Begins deprecation of alice publishing Tmap to DHT; Post rebase cleanup.
|
2018-06-20 10:12:00 -07:00 |
Kieran Prasch
|
44952cd636
|
Introduces blockchain network elemtns to higher-level character tests; Additional high level blockchain setup fixtures.
|
2018-06-20 10:12:00 -07:00 |
Kieran Prasch
|
078d39df88
|
Update entity tests and utils to testerchain.interface api
|
2018-06-20 10:12:00 -07:00 |
Kieran Prasch
|
8a65ca14f2
|
Deprecated compadability fixtures, updates contract tests to testechain.interface api
|
2018-06-20 10:12:00 -07:00 |
Kieran Prasch
|
550a8cc1d7
|
Refactor Policy and Arrangement methods to play nice with the blockchain client; Remove fake blockchain client
|
2018-06-20 10:11:58 -07:00 |
Kieran Prasch
|
7891588fd0
|
Keep tests up-to-date; Create airdrop and deploy fixtures; Fix additional stray imports
|
2018-06-20 10:11:34 -07:00 |
Kieran Prasch
|
0f9ddb9763
|
NucypherConfig actor entry point; Use remaining miner/token constants with sorrow.
|
2018-06-20 10:11:34 -07:00 |
Kieran Prasch
|
ff17d1fedb
|
Further integrate TokenActors and Characters with co-op scheme
|
2018-06-20 10:11:34 -07:00 |