Commit Graph

31 Commits (a293eca6226a6f9b825b95c0995f4b2ba3b2bae0)

Author SHA1 Message Date
David Núñez f5bee795d8
Merge pull request #2121 from mswilkison/worklock-terminology
Update WorkLock terminology
2020-07-15 17:46:44 +02:00
Victoria e717b6d030 Apply suggestions from code review #2117
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
Co-authored-by: K Prasch <kieran@nucypher.com>
Co-authored-by: David Núñez <david@nucypher.com>
2020-07-14 12:04:35 +03:00
vzotova 073cbf345e Refactor sub-stake status and selecting sub-stake 2020-07-09 16:33:25 +03:00
David Núñez 10ef0a1d62 Rename WorkLock commands and options 2020-07-08 17:13:05 +02:00
vzotova 8f598f0df6 More integration tests for stake selection 2020-07-07 17:21:06 +03:00
vzotova 796f297e93 Refactor `StakeHolder.assimilate()`, now `StakeHolder` instances from configuration and from interactive mode are the same 2020-07-07 17:19:02 +03:00
vzotova 2d0be22dec Apply suggestions from code review #2097
Co-authored-by: MacLane S Wilkison <maclane@nucypher.com>
Co-authored-by: David Núñez <david@nucypher.com>
Co-authored-by: K Prasch <kieran@nucypher.com>
2020-06-27 19:36:51 +03: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
Kieran Prasch 5909c37dd1 Apply API and interface updates to for enrico file handling. 2020-06-18 08:55:21 -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
derekpierre 89911a87ab Code cleanup. Fix typo in test 2020-06-09 08:50:18 -04: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
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
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