Commit Graph

195 Commits (1bd2aae362c217a5fd21580bb34e752e33361d2f)

Author SHA1 Message Date
Kieran Prasch d04094c1e9 Skip Vladimir tests in accordance with Issue #1075 2019-07-04 11:23:49 +02:00
David Núñez 21bb66d0c3 Fix all network tests and almost all character tests. 2019-07-04 11:23:49 +02:00
Kieran Prasch add336af3f Ensure that known_nodes passed into configs are retained for re-use 2019-07-04 11:22:38 +02:00
Kieran R. Prasch 877833aaf3 Understand Staker and Staking to be separate ideas. 2019-07-04 11:22:38 +02:00
Kieran R. Prasch 3a80eec247 Goodbye, Three Agents. Hello, Agency. 2019-07-04 11:22:38 +02:00
Kieran R. Prasch 5551ce950c MinerEscrow -> StakingEscrow, and MiningAdjudicator -> Adjudicator in agency, and in-test 2019-07-04 11:22:38 +02:00
Kieran Prasch 6097c83eb7
Almost all of checksum_public_address -> checksum_address 2019-06-08 14:25:35 -07:00
Kieran Prasch 1f618addba
Perform on-chain staking-check as node verification (Fix); Handle InvalidNode exception subclasses for logging 2019-06-04 21:39:46 +03:00
Kieran Prasch 5dae01cc79
Realizing the value of a decentralized identity namespace, Verification/Validation naming clarifications, Code cleanup and style fixes for signature flow. 2019-06-04 21:13:29 +03:00
Kieran R. Prasch 65f7b119bc
Remove outermost keccack digest for map id construction, Restore a blockchain-alice node discovery test. 2019-06-03 22:52:22 +03:00
Kieran Prasch 88ff212f3c
Post-rebase cleanup Pt. II. 2019-03-09 17:32:04 -08:00
MacLane Wilkison 86116706ff Change license notices in module headers to AGPL 2019-03-04 18:55:28 -08:00
MacLane Wilkison 9ed5b1e6f6 Remove unused variables+imports and make PEP 8 fixes in tests 2019-02-15 15:12:33 -07:00
jMyles 7a11f41132 Certs are all busted now too in _MiddlewareClientWithConnectionProblems. 2019-02-15 00:28:53 -07:00
jMyles 4251a94867 Two tests showing errors that myself, @mswilkison, and @derekpierre have run into this week. 2019-02-15 00:28:53 -07:00
tuxxy 26b1951488 Move test_character_control.py to tests.characters 2019-02-15 00:28:53 -07:00
tuxxy d0a0de822e Add derive_policy_pubkey route for Alice's character control 2019-02-15 00:28:53 -07:00
tuxxy e86d496762 Fix lifecycle test
David told me that this test would fail because it Bob didn't provide
his signing key. I somehow forgot that while making these changes and
spent hours trying to figure out why the map_id was wrong. I even
commented out bob's signing key knowing I would have to uncomment it
later. I'm done for today.

Import Alice in cli.alice

Fix arg name
2019-02-15 00:28:53 -07:00
tuxxy ac9677dad9 Create Enrico.from_alice method and add enrico_control_from_alice fixture 2019-02-15 00:28:53 -07:00
tuxxy b4b179aebb Alice character_control returns more policy metadata and lifecycle tests reflect it 2019-02-15 00:28:53 -07:00
tuxxy 3c64c7d9ff Add non-functional character control lifecycle test 2019-02-15 00:28:53 -07:00
tuxxy 6dd77e0e2e Standardize JSON responses in result key 2019-02-12 13:49:02 -07:00
tuxxy 01a6493ef7 Add enrico_control fixture and test_enrico_character_control_encrypt_message 2019-02-12 13:49:02 -07:00
tuxxy 2a6d445b9f Improve JSON decode error capture and add to tests 2019-02-12 13:49:02 -07:00
tuxxy 131fe17017 Standardize API endpoints to use JSON 2019-02-12 13:49:02 -07:00
tuxxy 282441557b Fill out make_bob_control and build passing tests 2019-02-12 13:49:02 -07:00
tuxxy 71d1d9f709 Finalize test_alice_character_control_grant 2019-02-12 13:49:02 -07:00
tuxxy a56baee69c Add problematic test_alice_character_control_grant 2019-02-12 13:49:02 -07:00
tuxxy e671283d27 Add minimal passing test for alice_control.create_policy 2019-02-12 13:49:02 -07: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 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