Commit Graph

367 Commits (39dcab3aa137b31abfa2a85728cd223d7449cdd8)

Author SHA1 Message Date
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
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