Bogdan Opanchuk
|
2e0efe451e
|
Use in-memory mock LMDB environment for most tests
|
2021-01-02 17:19:13 -08:00 |
David Núñez
|
35af6a3a07
|
When mocking the StakingEscrowAgent, handle the special case of commit_to_next_period, which returns a txhash due to the fire_and_forget option
Also, improves type hints related to the special case of commitment TXs, that result in txhashes instead of receipts.
|
2020-11-06 12:32:51 +01:00 |
David Núñez
|
7e644b0770
|
Be sure we're using the MockBlockchain in integration tests
|
2020-10-19 21:57:45 +02:00 |
David Núñez
|
145ebdf8ef
|
When sending TXs, allow to specify if we want to use a pending nonce or not
|
2020-10-19 18:59:28 +02:00 |
Bogdan Opanchuk
|
7be50030aa
|
Remove the reduced LMDB size fixture
It is not the cause of the bug, and it doesn't really test anything.
|
2020-09-22 16:55:37 -07:00 |
tuxxy
|
3ac32cd7ea
|
Move the thread lock to a class variable
|
2020-09-15 12:56:33 +02:00 |
tuxxy
|
8cd9bccfef
|
Respond to requests
|
2020-09-11 16:29:22 +02:00 |
tuxxy
|
423ed05a3a
|
Add thread lock to MockLMDB
|
2020-09-11 14:42:19 +02:00 |
David Núñez
|
920ae58bc3
|
Setting a free gas strategy in tests that create a new blockchain interface
|
2020-08-28 18:00:19 +02:00 |
tuxxy
|
d033c0b318
|
Respond to review changes
|
2020-08-10 15:38:59 +02:00 |
tuxxy
|
71f8b914e0
|
Instead of mocking a LMDB env, we just manage them appropriately
|
2020-08-10 15:38:59 +02:00 |
tuxxy
|
52038e36dc
|
Create a MockLMDBEnv w/ fixture and fix up some tests
Patch the PolicyArrangement model to fix discovery phase tests
|
2020-08-10 15:38:12 +02:00 |
Victoria
|
43718a49d5
|
Apply suggestions from code review #2142
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
Co-authored-by: David Núñez <david@nucypher.com>
|
2020-07-30 23:50:14 +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 |
Bogdan Opanchuk
|
ef9ab01a3a
|
Replace mocking click.prompt() and click.confirm() with mocking stdin/getpass.
|
2020-05-28 14:42:04 -07:00 |
Kieran Prasch
|
28cce2fccc
|
Reorganize tests into multiple suites.
|
2020-05-27 14:11:25 -07:00 |