Commit Graph

2202 Commits (28cce2fccc82f2fe57f698d8fc8df07884b7d924)

Author SHA1 Message Date
Kieran Prasch 28cce2fccc Reorganize tests into multiple suites. 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
Bogdan Opanchuk ec376ff997 Remove a duplicate agency_local_registry() fixture 2020-05-26 10:26:42 -07:00
Bogdan Opanchuk 463c145d31 Remove a debug print() 2020-05-26 10:26:42 -07:00
K Prasch 8b7ba918b5
Merge pull request #1998 from vzotova/estimate-bidders
Estimate number of bidders, functional test for enable-claiming
2020-05-22 14:48:09 -07:00
K Prasch 705b44577e
Merge pull request #2032 from fjarri/assert-fix
Check the actual boolean values instead of asserting a non-empty tuple
2020-05-22 12:37:48 -07:00
Bogdan Opanchuk 51a3096805 Check the actual boolean values instead of asserting a non-empty tuple (which always passes) 2020-05-22 12:09:10 -07:00
K Prasch 1fe2a75aaa
Merge pull request #2003 from KPrasch/laggy-infura
Test reproducing double CA bug and Fix 1/2 of (#2002)
2020-05-22 11:53:39 -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
vzotova 84121f4bee Estimate number of bidders that can be checked with the provided amount of gas in CLI, functional test for enable-claiming 2020-05-22 12:14:39 +03:00
Kieran Prasch cf7cb682e0
RFCs for #1989; Transforms registry source manager into a formal context manager. 2020-05-21 18:54:40 -07:00
David Núñez f00bb6f6b0
Test select_client_account_for_staking() action, which handles account selection in the potential presence of allocations 2020-05-21 18:18:46 -07:00
Kieran Prasch f1b130afa1
Additional annotations and comments. 2020-05-21 16:01:26 -07:00
Kieran Prasch 4169dbb004
Implement Constant Sorrow for contract api method markers. 2020-05-21 15:39:01 -07:00
David Núñez f3d1057ce3
Fix Stake.__eq__ and introduce basic unit tests for it 2020-05-21 15:09:56 -07:00
Kieran Prasch 9b9ddac234
Respond to RFCs in PR #1989 2020-05-21 14:56:45 -07:00
Kieran Prasch 9c55d5a117
Adapting new tests to api changes caused by rebase. 2020-05-20 22:18:32 -07:00
Kieran Prasch 87cc3b7767
Allow properties to be collected and handled in auto mocking. 2020-05-20 21:46:21 -07:00
Kieran Prasch 5a65fa6dfb
Respond to RFCs in PR #1989 2020-05-20 21:46:20 -07:00
Kieran Prasch 394332eef0
Clear side effects on agent mock by default 2020-05-20 21:45:05 -07:00
Kieran R. Prasch 5250305f4a
Ensure unifirm mock coverage of contracts in FT suite 2020-05-20 21:45:04 -07:00
Kieran Prasch 5bacc2f61c
Polish off condensed auto agent mocking and example implementation on worklock CLI FT 2020-05-20 21:44:05 -07:00
Kieran Prasch 7913427352
Condensed auto-mocking for agents. 2020-05-20 21:43:45 -07:00
Kieran Prasch 9b9efceee3
Proof of concept for metaprogramming apoproach to contract mocking. 2020-05-20 21:42:23 -07:00
Kieran Prasch 3f7d06421e
Fixes rest host determination test bug and reorders the module for faster feedback.
Ensures non-interactive 'rapid deployment' test; Remove __eq__ from configs.
2020-05-20 21:42:23 -07:00
Kieran Prasch f0167dbc79
Sacrifice a little accuracy for a little flexibility on account selection test; Save another to chew on later 2020-05-20 21:42:23 -07:00
Kieran Prasch 5ce1134950
Keep CLI action module names verbs; Fixture cleanup. 2020-05-20 21:42:21 -07:00
Kieran Prasch 55563952a5
More granular config CLI actions testing: 100% coverage achieved. 2020-05-20 21:41:45 -07:00
Kieran Prasch 69a828a727
suffix some tests with '_cli_action' for easier test feedback. 2020-05-20 21:41:45 -07:00
Kieran Prasch c425ea6aa5
Tightening down config actions tests 2020-05-20 21:41:45 -07:00
Kieran Prasch 722d26bcb4
Common factory function module for test character configurations 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 4a5aed06a1
CLI config action test coverage and related bug fixes. 2020-05-20 21:40:55 -07:00
Kieran Prasch b9de67505d
Stubs for CLI config actions; Post rebase cleanup. 2020-05-20 21:40:55 -07:00
Kieran Prasch d58dc65029
Reorg for configuration actions, split into smaller functions. 2020-05-20 21:40:55 -07:00
Kieran Prasch 00de9b3dda
Full type hinting and (nearly) docstring coverage for CLI actions. 2020-05-20 21:40:55 -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
Kieran R. Prasch 98e6a71740
Kick general networking and seednodes utilities out of cli actions into nucypher.utilities 2020-05-20 21:40:13 -07:00
Kieran Prasch 4619dd20a1
Test stub for @cygnusv 2020-05-20 21:40:13 -07:00
Kieran Prasch 3344ed2cbd
Test coverage for interactive network selection 2020-05-20 21:40:13 -07:00
Kieran Prasch 8cd5d83d3a
Test coverage for config file selection (stub) 2020-05-20 21:40:13 -07:00
Kieran R. Prasch e919992ea0
100% test coverage for CLI auth actions 2020-05-20 21:40:11 -07:00
Kieran Prasch 0411461184
Test touch ups; 2020-05-20 21:39:30 -07:00
Kieran Prasch c8e37210fe
Iterating on spy wrapper and mock agents 2020-05-20 21:38:31 -07:00
Kieran Prasch f583567222
100% coverage on interactive eth account selection 2020-05-20 21:38:29 -07:00
Kieran R. Prasch cc66d9310a
Test coverage and bug fixes for interactive client account selection with balances. 2020-05-20 21:36:25 -07:00
Kieran Prasch 78ed8fd145
Keep fast test fixtures scoped module where possible. 2020-05-20 21:33:01 -07:00
Kieran Prasch c50fc58f6f
100% coverage on interactive stake selection 2020-05-20 21:33:01 -07:00
Kieran Prasch a1113d2a20
Resolve two TODOs wrt staker methods and painting. 2020-05-20 21:33:01 -07:00