Commit Graph

168 Commits (a23a969ec6b1d2ac09b520b17d3105c30e6193a4)

Author SHA1 Message Date
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 2384cbf7a0 Update fixture chatacter configurations to use local tmpdir 2018-09-20 12:54:16 -07: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 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 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
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 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 R. Prasch 7a725fe0ab Include NodeConfiguraion in CLI - Fixup constants, naming, and imports wlongside DHT removal. 2018-09-18 09:18:41 -07:00
jMyles ff90af5a06 Some tidying up after all the shifting around. 2018-09-12 14:04:02 +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 a6a219cbb0 Integrate downstream changes, from PR #424 2018-09-10 16:13:06 +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 e1b4c82723 Added checking of secret in the upgrading method in the dispatcher contract 2018-09-01 15:46:40 +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 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 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 98f9b7f4c9 Update pyevm backend subclass, use URI for provider connection 2018-08-31 11:47:38 -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 f5c9f19b70 Project-wide automated import optimization, followed-up with some hand-tweaking 2018-08-31 11:27:59 -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 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 2f19b262c4 Small bug fixes 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 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 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 417884a791 Some cleanup for make_ursulas. Lots more to do. #347 2018-07-18 20:20:20 -07:00
szotov d991ca7ba3 Minor improvements for Windows compatibility 2018-07-17 22:39:12 +03:00
jMyles a88052c9a2 Separating blockchain Alice from regular ole' Alice. Style touch-ups. 2018-07-10 10:14:42 -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 303b4dfc8c More test touchups and fixture organization, in anticipation of #338. 2018-07-02 20:44:09 -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
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 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 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 e4253b6c5d Including Ursula ether address as part of public information. 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 Prasch 7a35c4b24b Hack together MockRestMiddleware, temp fix until implementing node learning. 2018-06-20 10:12:50 -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 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 8a65ca14f2 Deprecated compadability fixtures, updates contract tests to testechain.interface api 2018-06-20 10:12:00 -07:00
Kieran Prasch ff17d1fedb Further integrate TokenActors and Characters with co-op scheme 2018-06-20 10:11:34 -07:00
Kieran Prasch 6e751f6775 Renames(mostly) NetworkyStuff to NetworkMiddleware. 2018-06-20 10:11:28 -07:00
jMyles 8379b23a1f Stray import of Signature. 2018-06-02 19:54:08 -07:00
jMyles 57396ef1ca Fixing the setting of keys for cfrag correctness check, and explicitly passing a constant value so that these tests can be run in isolation. 2018-06-02 16:24:40 -07:00
K Prasch 05abf4dadf
Merge branch 'master' into actor-integration 2018-05-31 10:18:37 -07:00
jMyles fa6a4f6f57 Using pyUmbral Signer as SignatureStamp's signing function. 2018-05-28 12:10:05 -07:00
Kieran Prasch 722cf9918f Nucypher and BlockchainConfig and it's tenticles; Related NucypherConstants and ContractInterface updates. 2018-05-24 10:48:57 -07:00
jMyles 41805d5d06 Removing references to 'KMS' 2018-05-08 13:02:18 -07:00
K Prasch 7dcdf474f2
Merge branch 'master' into solc-pipeline 2018-04-23 00:02:08 -07:00
jMyles f4d43470d2 DelegatingPower now derives its Keypairs from a label. 2018-04-18 23:56:13 -07:00
jMyles 3f55470870 Tests for new Bob and TreasureMap logic. 2018-04-17 01:53:46 -07:00
Kieran Prasch b713d2d8e8 Merge remote-tracking branch 'upstream/master' into solc-pipeline 2018-04-15 12:34:44 -07:00
Justin Holmes 0bae3d04df
Merge branch 'master' into master 2018-04-13 16:22:26 -07:00
tuxxy c043dc2867 Merge remote-tracking branch 'nucypher/master' into solc-registrar 2018-04-13 16:08:26 -06:00
tuxxy a60032a097 Add tempfile_path fixture 2018-04-12 20:59:06 -06:00
Kieran Prasch 5ec9760a83 Consolidate test fixtures and utilities, optimize imports 2018-04-12 20:59:03 -06:00
jMyles cfb36163b6 DataSource now takes the public key of the Policy, not the whole Policy. Thanks @michwill. 2018-04-12 19:19:28 -07:00
jMyles da4966524c Test now uses DataSource. Alice no longer needs to be online in order for a DataSource to send messages to Bob. 2018-04-12 19:19:28 -07:00
jMyles fb826ef349 UmbralMessageKit can now be aware of a policy_pubkey. 2018-04-12 19:19:28 -07:00
jMyles 0a32f7f534 Moving Enrique and SignatureStamp out of characters. Enrique is now DataSource; SignatureStamp now lives in signature. 2018-04-12 19:19:28 -07:00
jMyles 67376fe607 Using Alice's DelegatingPower to make a Policy. 2018-04-12 19:19:28 -07:00
jMyles 9cc25929c8 No more as_b64 for UmbralPublicKeys. 2018-04-12 19:18:42 -07:00
Kieran Prasch 6959516ba6 Consolidate test fixtures and utilities, optimize imports 2018-04-11 20:26:03 -07:00
jMyles 1ea14e514b Switching to maya for most DT things. 2018-04-07 22:13:45 -07:00
jMyles 11263663f3 Special value constants changed to constantSorrow; lengths adjusted. Also, new test for Signature comparison. 2018-04-05 10:23:28 -07:00
jMyles 17bbf816cd Bob no longer tracks a single Alice as an attribute; instead, he tracks an Alice with each Policy. 2018-02-28 22:04:37 -08:00
jMyles f5e3f978b1 Better Keystore instantiation time, and also no need to manually start servers anymore (as they run on the same thread). 2018-02-28 17:40:49 -08:00
jMyles 7e567c24f6 Introducing named DBs per Ursula. 2018-02-28 17:37:27 -08:00
jMyles e1b4f242ab Tearing out all lookup_actor logic. Also, as @tuxxy pointed out a while ago, there's really no reason to have Character.hash(); we can just use keccak_digest. 2018-02-24 01:53:20 -08:00