Commit Graph

185 Commits (be9901f7462b7183197229e8543ac02e5956ff65)

Author SHA1 Message Date
Kieran Prasch 2384cbf7a0 Update fixture chatacter configurations to use local tmpdir 2018-09-20 12:54:16 -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 f5e0056b5f Update two tests to use ursula configuration fixture 2018-09-19 21:40:35 +02:00
jMyles d92c6fe5c3 Bob actually uses federated Ursulas for this test. 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 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
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
Kieran R. Prasch a6a219cbb0 Integrate downstream changes, from PR #424 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
tuxxy d0301a7818 Fix imports for restructured test utilities 2018-09-06 06:55:28 -06: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 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
Kieran Prasch 0601094d3f Fix several bad imports post-rebase 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 979d5e8def Eliminate __init__.py under any test directory; Relocate utilities. 2018-08-31 11:03:54 -07:00
Kieran Prasch db9775752e Strips old versions of from_config; CLI minor bug fixes 2018-08-31 10:52:19 -07:00
jMyles 0d6bd518db Using checksum address in known_nodes and TreasureMaps. 2018-07-18 20:17:15 -07:00
jMyles cb80379ff1 Bringing tests up to date with new semantics. 2018-07-13 12:12:28 -07:00
jMyles f721d64d09 Finished fetching logic for Arrangements. Fixes #180. 2018-07-13 11:04:52 -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 bcc159367f Fixing up tests. 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
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 8204351b6f Integrate three agents with existing fixtures, restore token airdrop as a utility function. 2018-06-26 01:10:45 -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 766acca7bf known_nodes is now private _known_nodes. 2018-06-22 20:18:06 -07:00
jMyles 0c7646fa94 Working known_nodes into fixtures and tests. 2018-06-20 10:13:26 -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
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 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 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 7890dcc2b2 Several touchups to Finnegan's Wake logic and the high-level APIs that power it. 2018-04-18 23:23:47 -07:00
jMyles 3f55470870 Tests for new Bob and TreasureMap logic. 2018-04-17 01:53:46 -07:00
jMyles 13ff2e642c Actors can now discover all known nodes from a given node. Fixes #175. 2018-04-17 01:52:30 -07:00
tuxxy 485d2a6f01 Start to update contract tests to pure web3 api; *borrowing* populus namespacs. 2018-04-15 16:05:12 -07:00
Kieran Prasch c9a7954e90 Consolidate test fixtures and utilities, optimize imports 2018-04-15 15:28:28 -07:00
Justin Holmes 0bae3d04df
Merge branch 'master' into master 2018-04-13 16:22:26 -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
Justin Holmes e27f174ad3
Merge branch 'master' into master 2018-04-10 19:30:06 -07:00
Kieran Prasch adfa29609e Manually merges inter-codebase tests, setup, pipfile, config classes, and sol source, respectively updates imports. 2018-04-10 17:03:21 -07:00
jMyles 5b46b9d17a Moves and fixes to support KMS logic with unified ETH codebase. 2018-04-10 00:34:18 -07:00
jMyles 6b3f9a797c This test just can't work for now. 2018-04-07 22:13:45 -07:00
tuxxy 95990bb839 Merge remote-tracking branch 'nucypher/master' into crypto-config 2018-04-05 17:59:23 -06:00
jMyles b3acaf50bc New verify_from() logic. Fixes #174.
Cleaning up and sanding kit and verify_from() logic.
2018-04-05 17:23:17 -06:00
jMyles 9c1e6c13cc cryptoKits is now its own project. 2018-04-05 17:23:17 -06:00
tuxxy 448e2d7223 Begin integration of KMS-Ethereum codebase into KMS 2018-04-05 17:21:23 -06: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 d3884518f2 Cleaning up and sanding kit and verify_from() logic. 2018-04-01 22:44:00 -07:00
tuxxy 06539daedd 'Contract' -> 'Arrangement' 2018-04-01 22:16:51 -06:00
jMyles f789aaf7f7 New verify_from() logic. Fixes #174. 2018-04-01 20:17:47 -07:00
jMyles 8d2bd2d77d cryptoKits is now its own project. 2018-04-01 18:50:53 -07:00
jMyles d35687907d Just use the keccak_digest function directly - this was never a good change really. 2018-02-28 17:37:27 -08:00
jMyles 139e767a2b All Characters need to know about Ursulas (and other information nodes if we ever run them). 2018-02-28 17:33:15 -08:00
jMyles 6fa7bd5823 Ursula's datastore now runs in a separate thread in all cases. 2018-02-28 17:32:19 -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
jMyles 857a91855a We don't do lookup_actor anymore. 2018-02-24 01:45:50 -08:00
jMyles 872cef81a2 Smoothing out Powers; redlines through plenty of obselete functionality surrounding path keys in EncryptingPower. 2018-02-23 23:36:40 -08:00
jMyles f89d13c4a0 Seal -=> SignatureStamp 2018-02-23 22:39:10 -08:00
jMyles 1cdc0cad80 Some DHT cleanup. 2018-02-19 15:21:06 -08:00
jMyles dbac4ba586 Illegal keys are bytes, not str. 2018-02-18 17:34:38 -08:00
jMyles fd4accf3f5 Header lengths and types implemented in network. 2018-02-15 12:31:16 -08:00
jMyles 023d9705f0 Shortening headers to two bytes, and deprecating lstrip as a way to eat headers. See #111. Fixes #164. 2018-02-14 23:45:23 -08:00
jMyles 3b9ae94b5b Fixed those last two pesky tests - now that we're splitting with MessageKit, we don't need to split again. 2018-02-14 00:19:26 -08:00
jMyles 31dfbaa3e9 Moving over to MessageKit.to_bytes. 2018-02-14 00:18:31 -08:00
jMyles 84951c0a81 Grabbing contract from keystore in test. 2018-02-13 13:29:41 -07:00
jMyles 5b9f4a2a7a More MessageKit flow for tmap. Also, unwrapped an extraneous if. 2018-02-13 11:13:07 -08:00
jMyles 5415184d0b More questioning of actor lookup. 2018-02-13 11:11:26 -08:00
jMyles f420a02ad7 Removing tests that test things that no longer exist. 2018-02-07 10:52:38 -08:00
jMyles 032abed046 Cleaning up the rest of the tests to use the new models. 2017-12-14 21:21:51 -08:00
jMyles 20bac0393f Tests shifting from Policy to Contract. 2017-12-14 21:21:27 -08:00
jMyles ac10e6a3da Merge commit for various Policy and testing Work after PRs are merged. 2017-12-13 10:41:55 -08:00
jMyles 21c18ea5f8 Tests reflect publish_treasure_map living on PolicyGroup. 2017-12-13 10:33:34 -08:00
jMyles 699ec37f03 TreasureMap setting fixture implemented in a few tests. 2017-12-07 20:41:26 -08:00
jMyles fb5731fff4 Bob has a lot of logic surrounding his play with Frags - moving such tests to their own module. 2017-12-07 00:36:43 -08:00
jMyles 674197d30b Test for complete discovery and reencryption via REST. 2017-12-05 12:54:44 -08:00
jMyles 97a97c6b5c Bob Issues WorkOrders with pFrags, gets back cFrags. 2017-12-04 17:18:47 -08:00
jMyles a5e85576a7 Using PolicyGroup's encrypted_key instead of fake pfrags. 2017-12-04 17:17:28 -08:00
jMyles d90a2649e9 Can't represent pfrag as bytes; this is a blocker for now. See #137. 2017-12-04 17:17:28 -08:00
jMyles c4cbff3359 Tests that show Bob that Bob is able to issue a WorkOrder via REST. 2017-12-04 17:17:28 -08:00