derekpierre
2a0bd02203
Move TESTERCHAIN chain information out of domains and into testing constants.
2023-10-05 08:27:44 -04:00
derekpierre
dc547249ae
Reduce scope of fixture froms session to module, so that its effects can be overridden by test modules.
...
Added unit tests for get_domain_info.
2023-10-05 06:55:32 -04:00
derekpierre
d8b9180921
Update domains/TACoDomain structure.
...
Added magic methods.
2023-10-05 06:20:13 -04:00
derekpierre
bee3c926d4
Rename networks module to domains, and remove NetworksInventory class; module contains all values and methods now.
2023-10-04 13:30:18 -04:00
derekpierre
aa6e53191f
Remove use of network when dealing with NetworksInventory class.
2023-10-04 13:30:18 -04:00
derekpierre
2d2b67e5d2
Rename of various functions/constants from NetworksInventory to use domain instead of network.
...
Rename variables obtained by calling into NetworksInventory to use domain instead of network.
Rename NuCypherNetworkName CLI validation object into NuCypherDomainName.
2023-10-04 13:30:18 -04:00
derekpierre
fa4051d504
Rename Eth/PolyNetwork to Eth/PolyChain to better reflect their usage.
2023-10-04 13:30:18 -04:00
derekpierre
6602192368
Update mocking for NetworksInventory class in tests.
2023-10-04 13:30:18 -04:00
Kieran Prasch
7689cc0769
removal and reorg of 'trackers' in preperation for publishing ofprovider public key to Coordinator.
2023-09-14 16:26:05 -04:00
Kieran Prasch
499f903976
Adapt tests and exmaples to merged Operator, without Ritualist.
2023-09-14 16:26:05 -04: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
9c5038c93b
Advances multichain evaluation tests coverage
2023-08-20 16:02:39 +02:00
Kieran Prasch
4c3394c309
Updates testing mocks to handle multiple RPC providers per blockchain
2023-08-20 16:02:39 +02:00
Kieran Prasch
78b18863d4
removes nightly pytest markers
2023-05-04 10:15:17 -07: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
Kieran Prasch
6ca73c2849
remove lisence header from tests
2022-11-16 13:27:47 +00:00
Kieran Prasch
db2aec026d
use pytest-nucypher directly
2022-10-31 20:16:35 +00:00
Kieran Prasch
42d8e7d5de
pytest11 entry points to export fixtures
2022-10-31 20:16:35 +00:00
Kieran Prasch
4a4e8dd594
Finishes removal of control package, it's usages and test utils
2022-10-27 22:22:46 +01:00
Kieran Prasch
73b6b8d15d
Removes WebController and WebEmitter
2022-10-27 21:14:34 +01:00
Kieran Prasch
febc6093c1
Removes lmdb datastore usage
2022-10-27 10:12:17 +01:00
derekpierre
589ddff4de
Initial refactoring of "character control"; abstract what is now "character control" into a general "base control" from which "character control" can sub-class.
2021-07-26 15:14:42 -04:00
Kieran Prasch
82e81fc710
Deterministic power derivation from keystore. Iterating on keystore drafting.
2021-06-28 14:33:31 -07:00
Kieran R. Prasch
6aef077172
bulk renaming of Keyring -> Keystore
2021-06-28 14:33:31 -07:00
Kieran Prasch
d4616416e7
Disables probationary period checking in tests.
2021-02-07 09:08:26 -08:00
Kieran R. Prasch
303b476cd4
Startup IP check session mocking; Adjustment for learning loop startup.
2021-01-12 13:10:15 -08:00
Kieran Prasch
94bf887364
Soften the impact of unknown IP during checkup
2021-01-12 13:10:14 -08:00
Kieran Prasch
7d6b45a2e0
Advances automatic IP determination: Query known nodes.
2021-01-12 13:09:07 -08:00
Kieran Prasch
5b88afc7c6
localizes card mocking fixture so CLI test modules will propery run.
2021-01-12 11:08:45 -08:00
Bogdan Opanchuk
2e0efe451e
Use in-memory mock LMDB environment for most tests
2021-01-02 17:19:13 -08:00
Kieran Prasch
c6b3ea31c1
Deprecates embedded geth integration tests and managed process usage.
2020-12-11 11:04:49 -08:00
Kieran R. Prasch
735dccce1e
Card CLI acceptance testing for 'alice/bob make-card' and card directory autocreation.
2020-12-09 16:52:15 -08:00
Bogdan Opanchuk
35944ad8de
Add _finalize() method to Ursula to force releasing the datastore and call it in fixtures
2020-09-22 16:55:37 -07:00
jMyles
de266be0cf
Resolving import conflicts with main.
2020-08-31 01:07:27 -07:00
jMyles
e86bfc2616
Not doing --track-character-lifecycles anymore. Maybe an environment variable or something.
2020-08-27 14:46:15 -07:00
damon
6a5fc0d5cb
temporary hardcode Learner._DEBUG_MODE
2020-08-27 14:00:13 -07:00
Kieran R. Prasch
93416e3bdd
Deprecates --runslow and supurflouous newlines.
2020-08-25 07:09:59 -07:00
jMyles
649574f3f5
We don't want to do these gymnastics if the Learner has been saved in the dict in the first place (which will only be the case if _DEBUG_MODE).
2020-08-24 07:21:07 -07:00
jMyles
531b26e5ad
Test flag to do the Character debug tracking.
2020-08-23 09:05:42 -07:00
jMyles
448a54df80
Also fail if a node crashed.
2020-08-18 05:10:43 -07:00
jMyles
4057608e68
Checking for zombified Characters and failing modules that leave them in state.
2020-08-18 05:10:43 -07:00
jMyles
bf1993b6d2
Adding global state dictionary for running test Characters.
2020-08-10 16:59:13 -07:00
Kieran Prasch
5ce1134950
Keep CLI action module names verbs; Fixture cleanup.
2020-05-20 21:42:21 -07:00
Kieran Prasch
f263e4c2a0
Promote and clear constants modules;
...
Partly convert constants to Pathlib, Use safe mock IP address constants.
Accommodate more pathlib in tests
2020-05-15 08:36:11 -07:00
Kieran Prasch
a935dc8e2d
Annihilate the sandbox
2020-05-15 08:33:38 -07:00
Victoria
7b7198ef79
Apply suggestions from code review #1959
...
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
Co-authored-by: MacLane S Wilkison <maclane@nucypher.com>
2020-05-13 23:09:50 +03:00
vzotova
4a0b79b2ca
StakingEscrow: confirmActivity -> commitToNextPeriod, lastActivePeriod -> lastCommittedPeriod
2020-05-13 20:21:52 +03:00
Kieran Prasch
0c2f684d71
Neat layout for agent mocking and cli unit testing
2020-05-08 19:20:54 -07:00
Kieran Prasch
93ca641441
Respond to RFCs; Sensor -> Tracker; Testing touch up/follow up.
2020-04-06 12:14:06 -07:00
Kieran Prasch
8ed44d60b8
Cleanup Ursula stopping services, prevent halting of reactor via health checks in test; test touch ups.
2020-03-31 11:18:39 -07:00