Commit Graph

6737 Commits (3ac4a2c2acb7df0d0d521d5afa5d64fc691fc5a3)

Author SHA1 Message Date
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 9765653bc2
Include pytest option -s in pytest.ini (compliments stdout trap fixture) 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 Prasch 8af47dae35
Relocate geth process start utility to cli.processes (not an action) 2020-05-20 21:40:13 -07:00
Kieran Prasch 3272b64003
Move checksum address from filepath utility to classmethod on character config where is wants to be scoped in the wild 2020-05-20 21:40:13 -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
Kieran Prasch f351333f58
Adds __eq__ for Stake objects. 2020-05-20 21:33:01 -07:00
Kieran Prasch 71dc3c0029
Stubbing CLI selection tests 2020-05-20 21:33:01 -07:00
Kieran Prasch 713eab4854
Deeper integration of agents with the Mock API. 2020-05-20 21:32:59 -07:00
Kieran R. Prasch 0895fe91ba
100% unit test coverage for cli auth actions. 2020-05-20 21:29:43 -07:00
Kieran R. Prasch c7ae0081fe
Small adjustments to cli.actions.confirm: Use uppercase name as the magic word. 2020-05-20 21:29:01 -07:00
Kieran R. Prasch 8bb790d91a
Relocate keystore constants to test.constants 2020-05-20 21:28:59 -07:00
Kieran Prasch 61cdcb9dd7
Generate a Mock object for every transaction and call on mock agents. 2020-05-20 21:26:20 -07:00
Kieran Prasch af86ff6dbe
Mock click.confirm fixture; Basis for confirm enable restaking test 2020-05-20 21:26:20 -07:00
Kieran R. Prasch d72cff3162
Ice breaker cli actions test 2020-05-20 21:26:20 -07:00
K Prasch a8bb61766e
Merge pull request #2018 from svenski123/1962-keystore-file-directory-handling
Fix up 3rd local keystore test case
2020-05-20 20:49:46 -07:00
Kristofer Peterson b4225fab85 move test_keystore_signer.py from tests/blockchain/eth/clients to tests/blockchain/eth/clients/signers
remove dependency on test_ursula_local_keystore_cli_functionality from test_worklock_cli_functionality
(reverse-i-search)`mv ': git mv tests/blockchain/eth/{clients,signers}/test_keystore_signer.py
2020-05-21 04:15:07 +01:00
Kristofer Peterson e90e18dee9 post rebase 3rd case 2020-05-21 03:15:44 +01:00
K Prasch f12cb052eb
Merge pull request #1968 from svenski123/1962-keystore-file-directory-handling
Correct path handling in keystore signer / support individual files
2020-05-20 17:04:16 -07:00
Kristofer Peterson 9064b80a4d clean up post rebase 2020-05-21 01:00:54 +01:00
David Núñez 690a959040
Merge pull request #2013 from KPrasch/lazy-import
Support for missing tests package
2020-05-20 22:00:57 +02:00
Kieran Prasch f29e5523c6
Responds to RFCs in PR #2013: Tests reflect the changes. 2020-05-20 12:36:21 -07:00
Kieran Prasch 83586978c1
Introduce development install required exception and module 2020-05-19 22:05:06 -07:00
Kieran Prasch ac07ff7415
Exception handling for development installation required. 2020-05-19 21:57:36 -07:00
Kieran Prasch ba81356224
Test describing crash behaviour when tests package is unavailable 2020-05-19 21:56:46 -07:00
K Prasch 4cbbe4a814
Merge pull request #2001 from derekpierre/end-of-file-fixer
Add "end-of-file-fixer" to pre-commit hooks
2020-05-19 20:51:50 -07:00
David Núñez e7cfad704f Fix double confirm activity when Ursula starts
LoopingCall.start() already had a now parameter, similar to our act_now
2020-05-20 02:56:28 +02:00
Kieran Prasch fc721a1c26
Test reproducing double CA bug. 2020-05-19 16:37:15 -07:00