Commit Graph

27 Commits (a6a873482fc55240a93c65c84b10af86f667e2c1)

Author SHA1 Message Date
jMyles e0918764d8 Big fixup for the remaining errors blocking integration.learning. 2020-08-10 12:54:35 -07:00
jMyles 5fd14a7109 make_federated_ursulas gets called from a few places of varying depths in the stack - accounting for that. 2020-08-10 12:54:05 -07:00
jMyles eaf7fbca37 Some debugging breadcrumbs for Ursula. 2020-08-10 12:54:04 -07:00
jMyles 16bc34754d Another test that was passing for the wrong reason. It now works regardless of whether the future Ursula is a hardcoded seednode or a user-specified one. 2020-08-10 12:52:31 -07:00
jMyles 784814c4bb Don't ship blockchain_bob with known_nodes; he can use his domain hardcoded nodes. Also, don't start his learning loop after the fact. This caused this test to pass even when he was unable to actually find the nodes in join_policy. 2020-08-10 12:52:31 -07:00
jMyles 6faadb775d Only simulate hardcoded domain nodes for TEMPORARY_DOMAIN, not nonstandard test domains. 2020-08-10 12:51:11 -07:00
jMyles 4ffecd85fd Going back to defined ports in the hopes of working out #1546 / #1689. 2020-08-10 12:49:26 -07:00
jMyles e85acfccaa Moving hardcoded seednodes to middleware. 2020-08-10 12:49:26 -07:00
jMyles 645533421e If the port is too high, try again. Attempting to deal with #1546. 2020-08-10 12:49:26 -07:00
jMyles 86b24373ac Setting checksum_address to staker address, and looking up TransactingPower in the usual (albeit private) way. 2020-08-10 12:49:26 -07:00
jMyles f2b8daa1ff Putting the fake latency on either side of the endpoint gives slightly more realistic conditions. 2020-08-10 12:45:22 -07:00
jMyles 1923568166 What happens if we add a little slowness like network latency? (And here's where we'll have to add concurrency). 2020-08-10 12:42:17 -07:00
jMyles 6d60c66ec2 Alice now proposes Arrangements; Ursula considers them. Fixes #1924. 2020-08-10 12:42:17 -07:00
tuxxy f5a7577290 Fix tests with new datastore changes
Use a unique temp directory for each blockchain_ursula and fix the flunky test query

Fix test_decentralized_grant test

Catch RecordNotFound errors in test_freerider_attacks

Provide a db_filepath for the test_collect_rewards_integration Ursula

Add unique temp directory for Ursula in test_collect_rewards_integration
2020-08-10 15:38:58 +02:00
David Núñez e438f2f944 Use our new Logger replacement everywhere 2020-08-08 03:14:45 +02:00
David Núñez 637ba98ff6 Don't use web3 directly, when we can use the client API 2020-06-05 04:07:57 +02:00
David Núñez b0e9a40f9c ...and relocate and improve tests for get_confirmations 2020-06-05 04:05:39 +02:00
Kieran Prasch bb32d210a3 Update test contract compilation path 2020-05-27 14:11:25 -07:00
Bogdan Opanchuk 276c7ad0eb Prohibit Pytest from trying to pick up TesterBlockchain 2020-05-26 10:26:42 -07:00
derekpierre 3e0bea5997 Update latest files after rebase with nucypher license. 2020-05-22 09:07:41 -04:00
derekpierre 668f25bc38 Add pre-commit hook to ensure that AGPL license is included in python source files 2020-05-22 08:55:06 -04:00
Kieran Prasch 722d26bcb4
Common factory function module for test character configurations 2020-05-20 21:41:45 -07:00
Kieran Prasch ecb773291a
Post rebase cleanup (#1959) 2020-05-15 09:05:09 -07:00
Kieran Prasch f263e4c2a0
Promote and clear constants modules;
Partly convert constants to Pathlib, Use safe mock IP address constants.
Accommodate more pathlib in tests
2020-05-15 08:36:11 -07:00
Kieran Prasch 3b4e9b47dc
Optimize imports for the entire codebase 2020-05-15 08:34:25 -07:00
Kieran Prasch a935dc8e2d
Annihilate the sandbox 2020-05-15 08:33:38 -07:00
David Núñez 94a2480416 Introduce some basic test utilities for Solidity and TesterBlockchain
The interesting utils are the ones to compute location of mapping entries and array data, as they will allow us to further improve our Solidity unit tests
2020-04-28 00:25:32 +02:00