Commit Graph

201 Commits (2f5e514d1f525e6cb2d69e8ac0a900726a20c39e)

Author SHA1 Message Date
Kieran R. Prasch 0574cfd908
Ensure alice and bob remember the manually controlled non-staking node in reward integration cli test. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch eca834c00a
Handle non-staking Ursula in-tests; Annotations for failing tests, Make Ursula display name a class attr 2019-06-03 22:52:22 +03:00
Kieran R. Prasch e74ba944f8
Handle geth --dev process as a fixture to stop when finished. Additional test bug fixes, found missing assertions. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch 2903c6d3e7
Adjust tests to accomodate new eip 191 and on-chain staking checks. 2019-06-03 22:52:22 +03:00
tuxxy 94f273d70c
Add missing import from rebase 2019-06-03 22:52:22 +03:00
Kieran R. Prasch c7d6696bce
Be a little more gentle with domain-based seeding (Ursulas); Skip and modifiy tests (needs follow-up) 2019-06-03 22:51:37 +03:00
Kieran Prasch 75daa85c20
Picking up the pieces- new --sync/--no-sync deploy flag, dehydrate deployment tests. 2019-06-03 22:50:40 +03:00
Kieran Prasch 6ee4e5fb7a
Another pass on handling published registry fetching. Found ancient stubs! 2019-06-03 22:50:40 +03:00
Kieran Prasch ba996f5d0c
Alter CLI deply tests to tests geth provder, First pass. 2019-06-03 22:50:40 +03:00
Kieran Prasch 577c0c7f8c
Add a fourth deployment threee agents fixture, move secret hash kwarg in fixtures to lazy position. 2019-06-03 22:50:40 +03:00
David Núñez 66aaf328c4 mock_ursula_reencrypts as as global fixture 2019-05-16 16:12:08 +02:00
David Núñez 19d3a8cf14 Touchups to some blockchain-related fixtures 2019-05-16 16:07:34 +02:00
David Núñez 7684bb103c Constructs funded_blockchain fixture from testerchain fixture
Gets rid of deployed_blockchain fixture
2019-05-16 16:07:33 +02:00
David Núñez a11d12a494 Move some local fixtures from CLI blockchain ursula to global fixtures 2019-05-16 16:07:33 +02:00
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