jMyles
|
086ff1c3bb
|
This test is no longer relevant; the seednode tests cover this logic equally well.
|
2020-06-25 15:19:11 -07:00 |
vzotova
|
6c68fba65c
|
Small docs update for collecting reward
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
|
2020-06-25 20:57:21 +03:00 |
vzotova
|
0e46140e8f
|
Added `mint` command to CLI, added some warnings in `collecting-reward` command
|
2020-06-25 20:13:42 +03:00 |
vzotova
|
9897c0f93c
|
Fix agent mocking: use instance to hold mocked method instead of class
|
2020-06-25 20:08:27 +03:00 |
jMyles
|
ca2e84eb2a
|
Only simulate hardcoded domain nodes for TEMPORARY_DOMAIN, not nonstandard test domains.
|
2020-06-24 19:28:22 -07:00 |
jMyles
|
169fffd41e
|
This entire test (and part of another) is no longer relevant, as Alice and Bob will learn about seednodes form their hardcoded domain list in such a scenario.
|
2020-06-24 19:27:52 -07:00 |
jMyles
|
81a4c623b3
|
This is a more acute test with a nonstandard domain, as it assures that the actual seednode logic is used.
|
2020-06-24 19:27:08 -07:00 |
jMyles
|
dbf910696a
|
Longer time allowance for this test; it will still almost certainly pass in the faster times on CI, but it's a pain to have it fail locally.
|
2020-06-24 19:26:42 -07:00 |
jMyles
|
3a2191248a
|
We no longer need to lower the parameter here; this test can pass in time with all 5000.
|
2020-06-24 14:38:44 -07:00 |
jMyles
|
e7387352b2
|
Reworked logic to determine good serials for mocks.
|
2020-06-24 14:37:52 -07:00 |
jMyles
|
1d75ced045
|
We need to fetch the actual Ursula from the cache to get the bytestring; this will be a sprout nowadays.
|
2020-06-23 16:00:35 -07:00 |
jMyles
|
935ac06d2c
|
A Character created from blank config will try to connect to seednodes without lonely.
|
2020-06-23 16:00:05 -07:00 |
jMyles
|
33f71f6e52
|
The number of known nodes might be a bit variable at this point; we're really concerned that he has only connected to 2.
|
2020-06-23 15:59:39 -07:00 |
jMyles
|
e8e3e9ab4e
|
Fixing up fixtures to fail fast and delete Ursulas when done.
|
2020-06-23 15:59:11 -07:00 |
jMyles
|
f708b77a57
|
Going back to defined ports in the hopes of working out #1546 / #1689.
|
2020-06-23 02:33:40 -07:00 |
jMyles
|
e845dc3b5b
|
We're not connecting to seednodes at this stage anymore.
|
2020-06-23 02:32:33 -07:00 |
jMyles
|
3c58a0ce60
|
Moving seednode loading logic inward.
|
2020-06-23 02:32:01 -07:00 |
jMyles
|
4ca6688a8d
|
Moving hardcoded seednodes to middleware.
|
2020-06-23 02:30:02 -07:00 |
jMyles
|
61b87f93bf
|
Getting --lonely through each Character where it's used.
|
2020-06-23 02:27:24 -07:00 |
vzotova
|
e90a27c8c3
|
StakingEscrow: new method to merge two sub-stakes into one
|
2020-06-23 11:15:02 +03:00 |
vzotova
|
a55f462902
|
StakingEscrow: add way to stake tokens to already existing sub-stake, including < minimum allowed
|
2020-06-23 11:15:02 +03:00 |
vzotova
|
3caa46f367
|
StakingEscrow: removed messages from require and removed one deposit function to decrease contract size
|
2020-06-23 11:15:01 +03:00 |
vzotova
|
54297be311
|
StakingEscrow: extract getLockedTokensInPast method to test set
|
2020-06-23 11:15:01 +03:00 |
vzotova
|
0c9d4bc9e3
|
StakingEscrow: unbond worker when withdrawing last portion of NU
|
2020-06-23 11:15:01 +03:00 |
vzotova
|
8f19161920
|
StakingEscrow: now staker is not only who has tokens but also who has not-rewarded periods
|
2020-06-23 11:15:00 +03:00 |
jMyles
|
b491a613a1
|
Allow other Characters to be --lonely.
|
2020-06-22 21:19:20 -07:00 |
jMyles
|
263aa1fab5
|
The first node in the fixture might not always be among the matching nodes.
|
2020-06-22 20:31:34 -07:00 |
jMyles
|
b3ac5a6e3e
|
If the port is too high, try again. Attempting to deal with #1546.
|
2020-06-22 20:31:34 -07:00 |
jMyles
|
1b5917d728
|
Clarifying failure message; this makes it easier to understand why this test occasionally fails.
|
2020-06-22 20:31:34 -07:00 |
jMyles
|
2065262a02
|
Setting checksum_address to staker address, and looking up TransactingPower in the usual (albeit private) way.
|
2020-06-22 20:31:34 -07:00 |
jMyles
|
97de268bd3
|
Merging the revised tests with the shim commit 31f001f2e .
|
2020-06-22 20:31:33 -07:00 |
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
|
62b7ccd9bb
|
Fixing locations and formats.
|
2020-06-22 18:30:21 -07:00 |
jMyles
|
8e7d83134e
|
Instead of the first Ursula, choose the first Ursula who is supposed to have the map.
|
2020-06-22 18:30:21 -07:00 |
jMyles
|
d4807654b1
|
Changing references to acumen materials.
|
2020-06-22 18:30:20 -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
|
a36c82cfed
|
Honing in on the most important concurrent test assertions. This passes, but we can do even better.
|
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 |
jMyles
|
35b30d5af6
|
Putting the fake latency on either side of the endpoint gives slightly more realistic conditions.
|
2020-06-22 18:30:20 -07:00 |
jMyles
|
f21bc0cb72
|
This zany test actually passes - now to get that 30 second limit down.
|
2020-06-22 18:30:20 -07:00 |
jMyles
|
d301da3dae
|
It's slow, but it's a start. This test passes in about 9 seconds right now; subsequent commits will tune it.
|
2020-06-22 18:30:20 -07:00 |
jMyles
|
fb523765b8
|
Test using the sluggish middleware; this is the one that will require the concurrency from the last commit.
|
2020-06-22 18:30:20 -07:00 |
jMyles
|
5cd3e61b35
|
What happens if we add a little slowness like network latency? (And here's where we'll have to add concurrency).
|
2020-06-22 18:30:20 -07:00 |
jMyles
|
568541dde8
|
Decentralized Alice controller test needs, you guessed it, DecentralizedTreasureMap.
|
2020-06-22 18:30:20 -07:00 |
jMyles
|
b821b81a89
|
Amonia needs to remember not to publish TreasureMaps, lest her gig being discovered too soon.
|
2020-06-22 18:30:20 -07:00 |
jMyles
|
5931076f77
|
Including a fake signature for the test.
|
2020-06-22 18:30:20 -07:00 |
jMyles
|
f5458fde6c
|
Evolving the test to show how Bob can find a map much more quickly.
|
2020-06-22 18:30:20 -07:00 |
jMyles
|
e576793e47
|
Alice now proposes Arrangements; Ursula considers them. Fixes #1924.
|
2020-06-22 18:30:20 -07:00 |
jMyles
|
7deab1242d
|
Mocking one layer out (setting policy) for these tests.
|
2020-06-22 18:30:20 -07:00 |
jMyles
|
1a6e3b09ed
|
Splitting test logic to show when the problem is with Bob or with Alice.
|
2020-06-22 18:30:20 -07:00 |
jMyles
|
5ffb356558
|
Vlad's APIs are consistent with the real deal again.
|
2020-06-22 18:30:20 -07:00 |
jMyles
|
cca843d71b
|
Test showing that Vladimir's efforts at posting a nonsense TreasureMap will fail.
|
2020-06-22 18:30:20 -07:00 |
jMyles
|
5a4328f0cc
|
Begining to test to show that blockchain signature prevents duplication.
|
2020-06-22 18:30:20 -07:00 |
K Prasch
|
523ea089f4
|
Merge pull request #2098 from KPrasch/enrico
Simple Enrico file encryption
|
2020-06-21 07:42:38 -07:00 |
damon
|
0c8a9c3c5f
|
TODOs
|
2020-06-19 04:43:16 -07:00 |
Kieran Prasch
|
5909c37dd1
|
Apply API and interface updates to for enrico file handling.
|
2020-06-18 08:55:21 -07:00 |
damon
|
1409bb2a61
|
more test fixes message->plaintext
|
2020-06-17 11:33:24 -07:00 |
damon
|
6d79d8db7b
|
test fixes resulting from change in keys
|
2020-06-17 11:31:48 -07:00 |
damon
|
9d65b242e8
|
message -> plaintext
|
2020-06-17 00:08:48 -07:00 |
K Prasch
|
f4b64fc365
|
Merge pull request #2069 from derekpierre/metrics-iteration
Initial Refactor of ursula prometheus metrics work from #1923
|
2020-06-15 09:36:44 -07:00 |
derekpierre
|
f60aa70203
|
Fix failing unit test
|
2020-06-12 11:03:01 -04:00 |
K Prasch
|
60043adffb
|
Merge pull request #2043 from cygnusv/block
Improve block confirmation logic and tests
|
2020-06-09 13:53:36 -07:00 |
derekpierre
|
6a578f034a
|
Fixed issues related to manual testing. General code cleanup.
I believe we are now on par with original functionality.
|
2020-06-09 14:13:32 -04:00 |
derekpierre
|
591d1cbec5
|
Fix Ursula typing and some general cleanup.
|
2020-06-09 08:50:18 -04:00 |
derekpierre
|
a37c5661df
|
Initial refactor of prometheus metric collection. Use of collection of individual metric collectors.
|
2020-06-09 08:50:18 -04:00 |
derekpierre
|
89911a87ab
|
Code cleanup. Fix typo in test
|
2020-06-09 08:50:18 -04:00 |
derekpierre
|
d282900bd0
|
Re-organize prometheus tests into the unit testing category
|
2020-06-09 08:50:18 -04:00 |
derekpierre
|
28b29edd70
|
Initial refactor of prometheus metrics configuration.
|
2020-06-09 08:50:18 -04:00 |
K Prasch
|
7a81566ea9
|
Merge pull request #2072 from vzotova/hide-commit
Hide 'commit-next' from help messages
|
2020-06-08 19:07:38 -07:00 |
K Prasch
|
9fb5caee5f
|
Merge pull request #2079 from vzotova/spdx-license
SPDX license identifier in contracts
|
2020-06-08 15:07:43 -07:00 |
Kieran Prasch
|
442c9a7c30
|
Respond to RFCs in PR #2078
|
2020-06-08 14:53:41 -07:00 |
Kieran Prasch
|
e5c51507ed
|
Fixes #1909 - Use a decorator to skip tests on CI.
|
2020-06-08 10:41:56 -07:00 |
vzotova
|
4335664aca
|
SPDX license identifier in contracts
|
2020-06-08 15:52:54 +03:00 |
David Núñez
|
404adf6211
|
Introduce some mockery in the block confirmations acceptance test to make it faster
|
2020-06-07 02:36:56 +02:00 |
David Núñez
|
3c71c708c2
|
Unit tests for EthereumClient.wait_for_receipt()
Some code changes based on test feedback
|
2020-06-07 02:10:26 +02:00 |
vzotova
|
790e22685c
|
Adds `receive()` function to contracts instead of payable `fallback()`
|
2020-06-05 17:21:05 +03:00 |
David Núñez
|
dfa812e42f
|
Unit tests for EthereumClient.block_until_enough_confirmations()
|
2020-06-05 04:08:55 +02:00 |
David Núñez
|
af0b636098
|
Update tests to current approach for block confirmations
|
2020-06-05 04:08:55 +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 |
David Núñez
|
519fc253bd
|
First pass at improving block confirmation logic and tests
|
2020-06-05 04:02:46 +02:00 |
vzotova
|
b8b22e9cf0
|
Hide 'commit-next' from help messages
|
2020-06-04 20:33:21 +03:00 |
K Prasch
|
89a602937b
|
Merge pull request #2037 from KPrasch/fuzzy
Typing for Contract Agents
|
2020-06-04 09:19:57 -07:00 |
David Núñez
|
993b70d19a
|
Address RFCs to #2059
|
2020-06-01 16:45:09 +02:00 |
David Núñez
|
968a5979ed
|
Make test refund interactive to increase coverage. Fix a bug along the way!
|
2020-06-01 04:16:42 +02:00 |
David Núñez
|
e04247e5af
|
Make claiming test interactive to increase coverage
|
2020-06-01 04:09:55 +02:00 |
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 |
jMyles
|
31f001f2ed
|
This will be the basis of a merge commit in the rebase of these tests. One of them reactivates Vladimir; the other fixes the method for testing the presence of Treasure Maps.
|
2020-05-29 15:15:47 -07: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
|
28cce2fccc
|
Reorganize tests into multiple suites.
|
2020-05-27 14:11:25 -07: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 |
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 |
Kieran Prasch
|
55d1131ba1
|
Keep literature module top level of CLI for now.
|
2020-05-15 08:19:57 -07:00 |
Kieran Prasch
|
f90b83ed86
|
Submodulize CLI painting
|
2020-05-15 08:19:54 -07:00 |
Kieran Prasch
|
2b5a39e97e
|
Nearly 100% of emitter messages from CLI actions are in literature.py
|
2020-05-15 08:15:49 -07:00 |
Kieran Prasch
|
755a02443b
|
Use mocker for testing external ip detection
|
2020-05-15 08:15:49 -07:00 |
Kieran Prasch
|
1541eb3ede
|
Refactors the codebase to use multiple CLI actions modules.
|
2020-05-15 08:15:47 -07:00 |
Harry Arjun Hassard
|
27e09820c3
|
staker/worker rate setting distinction from @derekpierre
|
2020-05-14 16:42:44 -07:00 |
Harry Arjun Hassard
|
7ebd4cd316
|
CLI fail: the sequel
|
2020-05-14 12:33:50 -07:00 |
Harry Arjun Hassard
|
c700986135
|
Applied suggestions from code review by @vzotova
|
2020-05-14 11:23:59 -07:00 |
Harry Arjun Hassard
|
8baba568ed
|
global fee range & more edits for consistency
|
2020-05-13 23:03:27 -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 |
Victoria
|
7b7198ef79
|
Apply suggestions from code review #1959
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
Co-authored-by: MacLane S Wilkison <maclane@nucypher.com>
|
2020-05-13 23:09:50 +03:00 |
vzotova
|
66ac1acb1d
|
Rename detach-worker -> unbond-worker
|
2020-05-13 20:21:53 +03:00 |