Commit Graph

165 Commits (7faf3f7a14b46112bdaf5e1e974c3ad98da6c8a9)

Author SHA1 Message Date
jMyles d08f6a017d No longer need to pass the status template around. 2019-01-22 17:04:23 -05:00
Kieran Prasch e46fb20bec
Update node storage methods to combined API 2019-01-16 09:48:09 -08:00
Kieran Prasch c235bb45bb
Select a possibly open non-default port for running tests 2018-12-11 10:01:35 -08: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
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 ed23e08df1
Update tests to use thinned keyring and configuration API 2018-12-05 15:59:50 -08:00
Kieran Prasch 305eadc8d8
Updates tests with NodeStorage internal API usage; passphrase -> password 2018-12-05 15:58:20 -08:00
Kieran Prasch 9bd96cb64a
tiny touch ups 2018-12-05 15:58:20 -08:00
Kieran Prasch 844c2a4674 Refactor node storages backend tests; Accomodate pytest>4 2018-11-16 14:26:31 -08:00
jMyles 458b999ddd Moved away from treating known_nodes as a dict throughout. 2018-11-16 10:24:26 -08:00
jMyles 17d0a245da Small fixes for tests to match FleetState updating logic. 2018-11-11 06:25:53 -08:00
Tux 883ad1dda1 Merge branch 'cedar' into install-communism 2018-11-05 06:09:49 -07:00
tuxxy 7feabb6cb2 Add GPLv3 -- nucypher is free as in freedom 2018-11-04 13:16:42 -07:00
David Núñez e13ef06787 Some pending renamings (uri -> label, signing_key -> verifying_key) 2018-10-29 01:51:56 +01:00
jMyles 6ee0c606f5 Fixing test race condition. 2018-10-27 23:26:33 +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
tuxxy b6d555e7d2 Remove kademlia digest function and replace it with keccak_digest 2018-10-07 14:44:04 -06:00
Kieran Prasch 3a31468512 Running multi-host env via CLI; Temp config keyring handling 2018-10-05 20:17:13 -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 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
jMyles 6aeb36ef70 (failing) test showing Alice only accepting latest node by timestamp. 2018-10-02 19:41:02 +02: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 ef31fb944c Resolve CI ImportErrors 2018-09-25 09:47:42 -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 4c02e5cd9e A huge slew of type hints and annotations to help resolve mypy checks 2018-09-21 10:16:38 -07:00
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