derekpierre
de028e6cfb
Remove AdjudicatorAgent.
2023-09-22 08:24:30 -04:00
derekpierre
869ef1fbda
Remove EconomicsFactory/Economics.
2023-09-21 12:31:21 -04:00
derekpierre
bc3ff31449
Add tests for Operator.block_until_ready.
2023-09-21 09:51:17 -04:00
derekpierre
33306a9d79
Rename root/child application agent integration fixtures.
2023-09-21 09:51:16 -04:00
derekpierre
48e6977dbd
Update integration tests to properly mock operator bonding based on new logic to check bonding for cli tests.
2023-09-21 09:51:16 -04:00
Kieran Prasch
4fc0176a96
handle integration and unit mocking of ad-hoc ursula account bonding.
2023-09-12 18:28:52 +02:00
Kieran Prasch
783f2dcd76
Enrico uses a web3 wallet to encrypt-then-sign.
2023-09-11 19:06:24 +02:00
derekpierre
e943ca7b8f
Rename PREApplicationAgent to TACoApplicationAgent; also rename associated variables/comments etc.
2023-09-08 09:27:04 -04:00
Kieran Prasch
fc543c49dc
dehydrate multichain test mocks and utilities for fixture resuse in multiple suites.
2023-08-24 14:26:29 +02:00
Kieran Prasch
57ce72ade9
use the staking and payment provider uris as default conditions providers before Ursula's construction.
2023-08-22 15:41:23 +02:00
Kieran Prasch
c85f1f2f59
assorted bugfixes related to fixtures and testerchain arising from the migration to ape.
2023-05-02 10:23:24 -07:00
Kieran Prasch
6617e08527
disable ape test plugin during unit and integration tests.
2023-05-02 10:23:24 -07:00
derekpierre
c157c8ccf7
Fix some tests; ERC721 contract needs to be deployed on APE, and MockContractAgency import is now inlined.
2023-05-02 10:23:24 -07:00
Kieran Prasch
a19c50ec69
ape checkpoint 1
2023-05-02 10:23:24 -07:00
Kieran Prasch
e20cc7f96f
public exposure of per-request ferveo variant, ferveo==0.1.7 and nucypher-core integration of ThresholdDecryptionRequest and Response
2023-05-02 10:23:24 -07:00
Kieran Prasch
35baaad87c
fervero/node integration test with mocked blockchain
2023-05-02 10:23:00 -07:00
Kieran Prasch
fff6728a32
three-layered testing of DKG rituals
2023-04-20 07:10:45 -07:00
derekpierre
9b0f645be7
Remove tests for deployment of deprecated contracts.
...
Code cleanup of docstrings and comments.
2022-12-22 15:07:52 -05:00
jMyles
ff2b98c30c
The 'big_testerchain' concept didn't work out; cleaning it up. Leaving it in the history for research purposes.
2022-12-07 11:29:26 +00:00
jMyles
52dcd13a53
The first idea - a bad one - in response to the need for a large fleet of Ursulas for performance tests. It's way too slow to try to make them all on a testerchain.
2022-12-07 11:29:26 +00:00
Kieran Prasch
7b7f2f071f
Atomically unfederate (most of) the tests; Restores "federated" functionality by way of mocking. Takes advantage of fixture overriding to intercept testerchain.
2022-12-07 11:28:40 +00:00
derekpierre
37ddd90830
Use thread-safe set for caching active ports.
...
Stop the use of MOCK_URSULA_START_PORT constant which may cause inadvertent port reuse.
Adjust rules for selecting ports to ensure early short circuit for invalid ports.
2022-11-24 10:51:01 -05:00
Kieran Prasch
6ca73c2849
remove lisence header from tests
2022-11-16 13:27:47 +00:00
Kieran Prasch
73b238a587
Removes staking entities
2022-02-21 17:17:11 -08:00
vzotova
856abe4892
Renames `provider_uri` to `eth_provider_uri`
2022-02-18 11:27:15 +03:00
Kieran Prasch
5f3437091a
Fast integration tests for bonding CLI using mocks.
2022-02-14 11:41:26 -08:00
vzotova
7c437b37b8
Removes `WorkLock` contract/agent/deployer and cli
...
Co-authored-by: Kieran Prasch <kieranprasch@gmail.com>
2022-02-10 20:19:21 +03:00
vzotova
ecac8017ed
Removes PolicyManager and StakingInterface
2022-02-09 14:24:26 +03:00
Kieran Prasch
5014209eeb
retire multisig tools
2022-02-08 11:11:22 -08:00
Kieran Prasch
b193465f98
adjust tests
2022-02-08 11:03:50 -08:00
Kieran Prasch
1c34045a81
Prepares economics and deployment constants for use with threshold network.
2022-02-08 11:02:17 -08:00
Kieran Prasch
bbc509910d
Adjust tests to accommodate swapable payment methods.
2022-02-08 11:01:24 -08:00
Piotr Roslaniec
09e90d17fa
Remove remaining 'str' usage
2021-08-06 18:10:43 +02:00
Piotr Roslaniec
113a6db0ac
Fix tests after rebase
2021-08-06 18:10:22 +02:00
Piotr Roslaniec
662bc34439
Use Path methods instead of os module
2021-08-06 18:10:22 +02:00
Piotr Roslaniec
6a270c1713
Use pathlib
2021-08-06 18:10:20 +02:00
David Núñez
6279827657
Remove stale references to PreallocationEscrow contract stuff
2021-04-30 10:23:13 +02:00
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