Commit Graph

353 Commits (1170c27b63651a1f56a0cb7287d023db165d746e)

Author SHA1 Message Date
jMyles 1170c27b63 The connectivity problem will now manfiest itself as NotEnoughNodes, as Bob won't have learned in time to try to get the map. 2020-06-22 18:30:21 -07:00
jMyles 09e03d156e Stop Alice's publication threadpool at the end of fixtures; otherwise tests hang. 2020-06-22 18:30:20 -07:00
jMyles 9045c3d7c1 Refining both test and threadpooling. Looking pretty good now. 2020-06-22 18:30:20 -07:00
jMyles 3b309baccd Cleaning up here results in faster test run exit. 2020-06-22 18:30:20 -07:00
David Núñez 519fc253bd First pass at improving block confirmation logic and tests 2020-06-05 04:02:46 +02:00
Bogdan Opanchuk 8dbaf2b206 Use `capsys` instead of `stdout_trap` 2020-05-28 14:42:04 -07:00
Kieran Prasch 6c9c1b7cd8 Holdover for flaky test. 2020-05-27 14:11:25 -07:00
Kieran Prasch 28cce2fccc Reorganize tests into multiple suites. 2020-05-27 14:11:25 -07:00
Bogdan Opanchuk ec376ff997 Remove a duplicate agency_local_registry() fixture 2020-05-26 10:26:42 -07:00
Kieran Prasch cf7cb682e0
RFCs for #1989; Transforms registry source manager into a formal context manager. 2020-05-21 18:54:40 -07:00
Kieran Prasch 5ce1134950
Keep CLI action module names verbs; Fixture cleanup. 2020-05-20 21:42:21 -07:00
Kieran Prasch c425ea6aa5
Tightening down config actions tests 2020-05-20 21:41:45 -07:00
Kieran Prasch 44de13d149
Cleanup and parameterize fixtures for FT coverage; Introduces test configuration factory functions for pyetst fixtures. 2020-05-20 21:41:44 -07:00
Kieran Prasch ed3b5b38ed
Fixes a bug in registry source management; Restore to original network inventory so it can be tested. 2020-05-20 21:40:53 -07:00
derekpierre c1d93d8941 Add "end-of-file-fixer" to pre-commit hooks 2020-05-19 14:28:29 -04: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
Harry Arjun Hassard dfb9e11a33 1st attempt at clarifying universal fee range and limited service-provider control over their acceptable fee rates 2020-05-13 17:56:33 -07:00
vzotova c228c388c3 Rename `set worker` to `bond worker` everywhere 2020-05-13 20:21:53 +03:00
vzotova 4a0b79b2ca StakingEscrow: confirmActivity -> commitToNextPeriod, lastActivePeriod -> lastCommittedPeriod 2020-05-13 20:21:52 +03:00
vzotova 6039002408 Rename policy reward to policy fee 2020-05-13 20:21:51 +03:00
Kieran Prasch c177d2dca1 Introduce mock interfaces module 2020-05-08 19:20:54 -07:00
Kieran Prasch 1b49236deb Handle registry source manager via mock testerchain 2020-05-08 19:20:54 -07:00
Kieran Prasch 066f778dda Restore allocation handling in fixtures 2020-05-08 19:20:54 -07:00
Kieran Prasch e8fbd5956a Handle token economics and mock testerchain compadibility with the larger test suite as a whole. 2020-05-08 19:20:54 -07:00
Kieran R. Prasch a58af7daf3 Mock and functional-scoped test grouping (fixtures) 2020-05-08 19:20:54 -07:00
Kieran Prasch d7f99e7a53 Introduce MockBlockchain; pytestfixture tweaks. 2020-05-08 19:20:54 -07:00
Kieran Prasch 0c2f684d71 Neat layout for agent mocking and cli unit testing 2020-05-08 19:20:54 -07:00
Kieran R. Prasch cf1c40c919 Proof of Concept fast CLI test. 2020-05-08 19:20:54 -07:00
Kieran Prasch 923832b3c5 Hack and slash with mock web3 backend 2020-05-08 19:20:54 -07:00
K Prasch 6e1ae2fe8f
Merge pull request #1964 from KPrasch/squash
Bug Fixes: WSS Provider, Keystore file Handling
2020-05-08 09:59:27 -07:00
Kieran Prasch 20358ae9a2
Dont add test account twice in tests. 2020-05-07 10:10:34 -07:00
David Núñez d180d81c8a Batch deposit methods in StakingEscrowAgent and unit tests 2020-05-05 20:06:16 +02:00
David Núñez d3a88dc205 First test for Trustee: proposing MultiSig management operations 2020-04-15 02:36:22 +02:00
David Núñez e1dc124317 Adapt everything else to no secrets: deployers, tests, CLI, docs, etc 2020-04-09 17:59:56 +02:00
Kieran R. Prasch 64786b572d
Allow opt-out for uptime checks via configuration and disable it during tests by default. 2020-03-31 11:05:25 -07:00
Kieran Prasch a26daf57b5
Renames TransactingPower init kwarg to account. 2020-03-26 14:55:38 -07:00
Kieran Prasch 9c1aec73af
refining tpower and signer exception handling, in tandem. 2020-03-26 14:55:38 -07:00
Kieran R. Prasch 027adbfdc7
Implements extracted signers in Character configuration and init, tests to follow. 2020-03-26 14:53:40 -07:00
Kieran R. Prasch 1685c37407
Moving TPower in a single account signer-based backend. 2020-03-26 14:53:40 -07:00
K Prasch 5fe81dc65d
Merge pull request #1773 from vzotova/worklock-updates-opt4
🐳 Worklock updates (option 4)
2020-03-19 10:21:11 -07:00
vzotova 38ddc5e591 WorkLock: force refund at CLI, actor, agent layers 2020-03-13 22:57:39 +03:00
vzotova a2deca9eb8 WorkLock: cancellation window 2020-03-13 21:51:05 +03:00
vzotova 5c719dd1a9 New constraints in WorkLock: minimum allowed bid, cancellation only during bidding, removed unclaimed tokens 2020-03-13 21:51:04 +03:00
K Prasch ab978c09be
Merge pull request #1759 from KPrasch/configurate
Offline Configuration Selection
2020-03-13 10:56:05 -07:00
Kieran Prasch 489c048712
KeyStore -> Datastore 2020-03-09 14:50:18 -07:00
Kieran Prasch eb32902704
Keep missing configuration tests passing; Always use mocked registry source. 2020-03-05 10:02:20 -08:00
Kieran Prasch cf1ca2093f
Interactive network selection; Touch ups. 2020-03-03 09:17:09 -08:00