Piotr Roslaniec
|
6a270c1713
|
Use pathlib
|
2021-08-06 18:10:20 +02:00 |
Kieran Prasch
|
8a54bd7e6d
|
Post rebase cleanup for PR #2612; Umbral 0.2.x compatibility.
|
2021-06-30 15:14:10 -07:00 |
Kieran R. Prasch
|
4f7bdf5c46
|
tests respect the Keystore API
|
2021-06-28 14:33:31 -07:00 |
Bogdan Opanchuk
|
0c05699908
|
Fix highperf tests for the new Umbral
Minimal changes, for starters.
|
2021-06-25 11:43:06 -07:00 |
Bogdan Opanchuk
|
6090a755b0
|
Gate the choice of Umbral implementation in a single file
|
2021-06-22 18:31:08 -07:00 |
Bogdan Opanchuk
|
15333ddca2
|
Dissolve umbral_adapter
|
2021-06-17 14:38:51 -07:00 |
Bogdan Opanchuk
|
e6fcdbbff6
|
Minimal fixes to make CI pass, using an adapter for Umbral
|
2021-06-17 14:38:51 -07:00 |
David Núñez
|
6279827657
|
Remove stale references to PreallocationEscrow contract stuff
|
2021-04-30 10:23:13 +02:00 |
Kieran Prasch
|
7e07bd267e
|
Handle injected transacting power in tests.
|
2021-02-26 13:38:37 -08:00 |
Bogdan Opanchuk
|
4de9b91d2a
|
Refactor FleetSensor
|
2021-02-16 22:45:55 -08:00 |
David Núñez
|
d02f0ead7f
|
Disable solidity compilation for MockBlockchain
|
2021-01-20 12:36:10 +01:00 |
Bogdan Opanchuk
|
2e0efe451e
|
Use in-memory mock LMDB environment for most tests
|
2021-01-02 17:19:13 -08:00 |
Kieran Prasch
|
89043b3065
|
Deprecates managed provider/client syncing
|
2020-12-14 12:01:18 -08:00 |
Victoria
|
a8f0ec5bc5
|
Apply suggestions from code review #2439
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
Co-authored-by: Kieran Prasch <kieran@nucypher.com>
Co-authored-by: David Núñez <david@nucypher.com>
|
2020-12-03 18:39:44 +03:00 |
Kieran Prasch
|
a16691bd62
|
Return of import remappings.
|
2020-12-03 16:48:33 +03:00 |
Kieran Prasch
|
70cf785c7f
|
Arrange tests to respect upstream changes; Conventionalize testerchain class attrs; Accept nonce atability testing with delay.
|
2020-12-03 16:48:30 +03: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 |
jMyles
|
c4786f551a
|
No longer are there 'serving' domains and 'learning' domains. Everybody just has a domain.
|
2020-11-03 18:13:15 -07:00 |
David Núñez
|
7e644b0770
|
Be sure we're using the MockBlockchain in integration tests
|
2020-10-19 21:57:45 +02:00 |
Bogdan Opanchuk
|
1557617afd
|
Since web3=5.12.2 some of `eth` methods require positional arguments
|
2020-10-18 00:16:05 -07:00 |
David Núñez
|
0fb2cad64a
|
Relocate keypairs.py from datastore to crypto
|
2020-09-24 20:28:27 +02:00 |
David Núñez
|
4cf7dcadc3
|
We're done with multiple domains, for the moment.
Closes #2144. Closes #1580.
|
2020-09-24 20:27:13 +02:00 |
Bogdan Opanchuk
|
0b001f262a
|
Break a reference cycle in Ursula
1. Ursula -> rest_server -> rest_app -> closure -> Ursula
2. rest_app -> closure -> datastore, rest_app
|
2020-09-22 16:55:31 -07:00 |
Kieran R. Prasch
|
bee1f7f5f8
|
Adds missing newline to mainnet registry
|
2020-09-08 13:09:27 -07:00 |
jMyles
|
de266be0cf
|
Resolving import conflicts with main.
|
2020-08-31 01:07:27 -07: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 |
jMyles
|
e0918764d8
|
Big fixup for the remaining errors blocking integration.learning.
|
2020-08-10 12:54:35 -07:00 |
jMyles
|
784814c4bb
|
Don't ship blockchain_bob with known_nodes; he can use his domain hardcoded nodes. Also, don't start his learning loop after the fact. This caused this test to pass even when he was unable to actually find the nodes in join_policy.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
046c8e3989
|
Reworked logic to determine good serials for mocks.
|
2020-08-10 12:49:54 -07:00 |
jMyles
|
14165eb4db
|
Instead of the first Ursula, choose the first Ursula who is supposed to have the map.
|
2020-08-10 12:48:31 -07:00 |
jMyles
|
106b60f3f7
|
Mocking one layer out (setting policy) for these tests.
|
2020-08-10 12:42:15 -07: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 |
David Núñez
|
3595f3dae6
|
Make restoration of default values conditional
|
2020-08-04 19:01:54 +02:00 |
David Núñez
|
460ce4cb08
|
Restore default return values in mock agents
Mock.reset_mock() doesn't do that by default so return values remained between test modules
|
2020-08-04 18:37:30 +02:00 |
vzotova
|
9897c0f93c
|
Fix agent mocking: use instance to hold mocked method instead of class
|
2020-06-25 20:08:27 +03:00 |
David Núñez
|
b0e9a40f9c
|
...and relocate and improve tests for get_confirmations
|
2020-06-05 04:05:39 +02: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 |
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 |
Kieran Prasch
|
cf7cb682e0
|
RFCs for #1989; Transforms registry source manager into a formal context manager.
|
2020-05-21 18:54:40 -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 |
Kieran Prasch
|
9b9ddac234
|
Respond to RFCs in PR #1989
|
2020-05-21 14:56:45 -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
|
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
|
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 |