Commit Graph

187 Commits (9698e43ae385728ad16fc4325d294c90150adeb0)

Author SHA1 Message Date
David Núñez 361c068aad Slashing economics fixture 2019-05-16 16:07:33 +02:00
Kieran Prasch 42a1495047
Handling failed deployment transactions 2019-04-22 23:18:51 +03:00
Kieran Prasch 270c56dcc4
CLI deployment adjustments and post-rebase cleanup. 2019-04-22 23:18:51 +03:00
Kieran Prasch 00eaba0d00
Keep economic coefficients as decimal until explictly cast 2019-04-22 23:18:51 +03:00
Kieran Prasch 2d943e6afb
Refactor stake as a self-validating insnatce; Introduce token economincs via dep. injection throughout tests and blockchain API. 2019-04-22 23:18:49 +03:00
David Núñez 41f60099d3 Use TesterBlockchain's test accounts 2019-04-12 07:52:15 +02:00
David Núñez 01c466554a Don't use TesterBlockchain.ether_airdrop if it's already funded or can be done in the constructor 2019-04-12 07:52:15 +02:00
David Núñez 023083db64 Not enough "y'all" in "all y'all". Not enough test ETH, either. 2019-04-12 07:52:15 +02:00
David Núñez 8216d6b39f Simplify default test accounts creation in TesterBlockchain. 2019-04-12 07:52:15 +02:00
Kieran Prasch 215bf5ad7f
Denomination management implementation with NU and Web3. 2019-03-14 13:38:19 -07:00
Kieran Prasch 88ff212f3c
Post-rebase cleanup Pt. II. 2019-03-09 17:32:04 -08:00
Kieran Prasch f98fce348c
Dealing with the side effects of BlockchainPolicy updates 2019-03-09 17:31:28 -08:00
Kieran Prasch 244f0e0885
Update tests to accomodate staking CLI requirements: orders blockchain Ursulas, better fixture organization; Staking CLI integraton tests. 2019-03-09 17:31:28 -08:00
Kieran R. Prasch c8e460a101
Controller usage touch-ups. 2019-03-06 13:52:45 -08:00
Kieran R. Prasch cb135577bd
Mocks keyring KDF in tests for performance; Updates control fixtures. 2019-03-06 13:52:45 -08:00
MacLane Wilkison 86116706ff Change license notices in module headers to AGPL 2019-03-04 18:55:28 -08:00
tuxxy a8c4ecee3e Use a common policy label fixture 2019-02-16 14:42:06 -07:00
Kieran R. Prasch abdd9ceda8 Remove b64encodings from labels 2019-02-16 14:42:06 -07:00
MacLane Wilkison 9ed5b1e6f6 Remove unused variables+imports and make PEP 8 fixes in tests 2019-02-15 15:12:33 -07:00
Kieran R. Prasch c43cdd573b Update Tests with corrected naming conventions for Flask test client - bug fixes for CLI tests. 2019-02-15 00:28:53 -07:00
jMyles ffd3680d6a Shifts in tests to account for movement of label from Enrico to retrieve. 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
jMyles ff06ceb998 Moving Enrico control onto Enrico. 2019-02-15 00:28:53 -07:00
jMyles 0866abaaac Moving Bob controller right on to Bob. 2019-02-15 00:28:53 -07:00
jMyles 188c0773b4 Enrico is now a lawful Character. Fixes #241. 2019-02-15 00:28:53 -07:00
tuxxy 55dec8ff25 Get tests running again 2019-02-15 00:28:53 -07:00
jMyles 83bbf5b03b Tests and fixtures for Alice control via config. 2019-02-15 00:28:53 -07:00
tuxxy 707116470c Change character control namespaces
All character files are moved under the nucypher.network.control
namespace under their respective names (alice, bob, enrico).
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 35e2942db0 Have make_alice_control and make_bob_control take a teacher node to start the learning loop 2019-02-12 13:49:02 -07:00
tuxxy e9f9b5c227 Have federated_bob learn in bob_control fixture 2019-02-12 13:49:02 -07:00
tuxxy 7882ed6114 Create bob_control fixture 2019-02-12 13:49:02 -07:00
tuxxy 924d7388a9 Raise TypeError when TreasureMap isn't decrypted and add test to demonstrate 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 8c5bb1b1eb Fill out alice_control.create_policy w/ TODOs 2019-02-12 13:49:02 -07:00
tuxxy 07762a420a Add alice_control fixture 2019-02-12 13:49:02 -07: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 c235bb45bb
Select a possibly open non-default port for running tests 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 1c86a07a13
Integrate FleetState into NodeConfiguration; checksum_address -> checksum_public_address 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 1f820e0659
Prepare test for cli namespace change and formal cli module 2018-12-05 15:58:20 -08:00
David Núñez 4ab7ad1252 DataSource.encapsulate_single_message() --> DataSource.encrypt_message() 2018-12-03 12:07:33 +01:00
Kieran Prasch 2f1e6eec20
Test database teardown logic 2018-11-09 09:30:15 -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 310e2f3a55 Move certificates_temdir fixture to fixtures module 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