David Núñez
|
787d0ca2f2
|
Test claiming not available
|
2020-06-01 04:04:00 +02:00 |
David Núñez
|
24978b058a
|
Improve test for worklock bid time checks, to actually test the CLI layer
|
2020-06-01 03:26:07 +02:00 |
David Núñez
|
d42f838f7a
|
Test worklock account selection
|
2020-06-01 03:03:07 +02:00 |
David Núñez
|
80175c8751
|
Test interactive bid increasing
|
2020-05-31 19:51:10 +02:00 |
David Núñez
|
9745bdf602
|
Test interactive bidding. Extract some CLI strings to literature
|
2020-05-31 19:51:10 +02:00 |
David Núñez
|
b023e752b3
|
CLI tests: Correct user input, don't pass env vars
|
2020-05-31 19:51:10 +02:00 |
David Núñez
|
6e2ef561b5
|
Improve valid bid test: make it more a CLI/Bidder integration test
Also, input is supposed to be denominated in ETH
|
2020-05-31 03:24:56 +02:00 |
David Núñez
|
6384a198af
|
Mark some tests as FIXME as they are testing the Bidder, not the CLI
|
2020-05-31 03:24:53 +02:00 |
K Prasch
|
f94bed6a22
|
Merge pull request #1923 from p2p-org/feat/event_metrics
Feat/event metrics
|
2020-05-29 12:21:23 -07:00 |
Kieran Prasch
|
c86013ddb6
|
registry_contract_name -> contract_name
|
2020-05-28 17:46:33 -07:00 |
Bogdan Opanchuk
|
8dbaf2b206
|
Use `capsys` instead of `stdout_trap`
|
2020-05-28 14:42:04 -07:00 |
Bogdan Opanchuk
|
ef9ab01a3a
|
Replace mocking click.prompt() and click.confirm() with mocking stdin/getpass.
|
2020-05-28 14:42:04 -07:00 |
Bogdan Opanchuk
|
8b9d559113
|
Separate YES/NO (w/o linebreak) and YES_ENTER/NO_ENTER (with linebreak) in test constants
|
2020-05-28 14:42:02 -07:00 |
Bogdan Opanchuk
|
844355b5fa
|
Remove a test with a duplciate name that never got executed
|
2020-05-28 14:40:39 -07:00 |
Kieran Prasch
|
851facceba
|
Skip an inaccurate test.
|
2020-05-28 11:59:46 -07:00 |
David Núñez
|
e1f59aab20
|
Fix test for nucypher worklock claim when bidder already claimed
|
2020-05-28 02:25:22 +02:00 |
Kieran Prasch
|
6c9c1b7cd8
|
Holdover for flaky test.
|
2020-05-27 14:11:25 -07:00 |
Kieran Prasch
|
04a8fb696d
|
Skip test awaiting PR #1863
|
2020-05-27 14:11:25 -07:00 |
Kieran Prasch
|
d4509ee6c7
|
Holdover for additional mock organization
|
2020-05-27 14:11:25 -07:00 |
Kieran Prasch
|
bb32d210a3
|
Update test contract compilation path
|
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
|
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 |
programmer10110
|
3e659e7423
|
Merge branch 'master' of github.com:nucypher/nucypher into feat/event_metrics
|
2020-05-26 12:35:41 +03:00 |
programmer10110
|
ebb48b2f23
|
type hints, tests for json_metrics_exporter
|
2020-05-26 12:34:30 +03: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 |
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
|
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
|
ba81356224
|
Test describing crash behaviour when tests package is unavailable
|
2020-05-19 21:56:46 -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 |
derekpierre
|
c1d93d8941
|
Add "end-of-file-fixer" to pre-commit hooks
|
2020-05-19 14:28:29 -04:00 |
Kristofer Peterson
|
e03f12af7f
|
Remove (now) misleading comment
|
2020-05-19 02:10:48 +02:00 |
Kristofer Peterson
|
887beb41dc
|
Updated ci cli tests for KeyStoreSigner.
Removed mocking of os.* syscalls, replaced with actual files in
temporary directories.
|
2020-05-19 02:10:43 +02:00 |
Kristofer Peterson
|
4126558322
|
Update ci basic test cases.
As os.scandir is used by other supporting code (notably
shutil.rmtree), patching moved out of fixture.
|
2020-05-19 01:56:17 +02:00 |
Kieran Prasch
|
50a960d349
|
Respond to RFCs in PR #1983 :-)
|
2020-05-16 15:38:28 -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 |
Kieran Prasch
|
2e9da4ef31
|
Take back control of CLI imports, namespaces, and organization. Work on a CLI and tidy CLI.
|
2020-05-15 08:28:12 -07:00 |
Kieran R. Prasch
|
5992e05897
|
Extracts all deploy cli strings and majority of cli commands to literature
|
2020-05-15 08:26:42 -07:00 |