Commit Graph

507 Commits (7befe20cf372a85d5db2495337f64d966bc1d7a2)

Author SHA1 Message Date
Kieran Prasch a6d5335449 Reorganizes tests betweeen acceptance/integration. Ape project is now /tests/acceptnace. 2023-05-02 10:23:24 -07:00
Kieran Prasch dc51407c0f relocates ursulas fixture (is uses transparently in different scopes) 2023-05-02 10:23:24 -07: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 39929d0aa3 relocates ape fixtures to local conftest 2023-05-02 10:23:24 -07:00
derekpierre d42b445d63 Fix use of ape project fixture. 2023-05-02 10:23:24 -07:00
Kieran Prasch df86485efa removes several unused pytest fixtures 2023-05-02 10:23:24 -07:00
Kieran Prasch 21fa6edc7b new ape testing utils module 2023-05-02 10:23:24 -07:00
derekpierre 67a7bb7da6 Code testing cleanup. 2023-05-02 10:23:24 -07:00
derekpierre e0286d13c5 Get `nucypher-contracts` dependency from github by default. 2023-05-02 10:23:24 -07:00
Kieran Prasch a19c50ec69 ape checkpoint 1 2023-05-02 10:23:24 -07:00
derekpierre b4673ac39f Got some dkg unit and integration tests passing. There are more tests to make pass. 2023-05-02 10:23:24 -07:00
Kieran Prasch c654e45367 updates for web3.py 6+ 2023-05-02 10:23:24 -07:00
Kieran Prasch 33bcea650d DKG encryption functionality for Enrico 2023-05-02 10:23:00 -07:00
Kieran Prasch 735eec6739 improves order preservation of nodes during ritutal rounds 2023-04-20 07:10:46 -07:00
Kieran Prasch 59e14cc2e2 dkg node protocol early prototype v1. 2023-04-20 07:10:45 -07: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 97b19ea3e4 Fake addresses for fake Ursulas. Good enough for these highperf tests. 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 dd87e3459d unskips test_use_external_cache, bumps fixturized policy to 3 of 5. 2022-12-07 11:29:26 +00:00
Kieran Prasch ed53696cf4 unskip IP detection CLI tests with required mocks 2022-12-07 11:29:26 +00:00
Kieran Prasch 0222a17c6b Restores unit tests to not compile solidity. 2022-12-07 11:29:26 +00:00
Kieran Prasch 9b38075d24 Partial correction of abstraction leak between Ursula an Operator by code reorg. 2022-12-07 11:29:26 +00:00
Kieran Prasch fda5c86db2 Removes "decentralized" and "blockchain" differentiation from "federated" 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 ff3f414331 Sort fixtures that compile to localized acceptance/unit conftest respectively; Faster unit test suite. 2022-11-17 15:22:55 +00:00
Kieran Prasch 15b98e5479 de-duplicate condition fixture definition 2022-11-17 15:20:43 +00:00
Kieran Prasch 6ca73c2849 remove lisence header from tests 2022-11-16 13:27:47 +00:00
Kieran Prasch d2dcdb9230 Introduce dynamic multi-chain support; enforce condition chain ID as an int. 2022-11-07 12:51:31 +00:00
Kieran Prasch f3dd8ec870 Remove unused stakeholder fixtures 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 73b6b8d15d Removes WebController and WebEmitter 2022-10-27 21:14:34 +01:00
Kieran Prasch d1269d1507 atomically extricate porter to nucypher/nucypher-porter 2022-10-27 17:26:32 +01:00
Kieran Prasch febc6093c1 Removes lmdb datastore usage 2022-10-27 10:12:17 +01:00
Kieran Prasch 9ae4d5c966 to/from wei method updates for web3 v6+ support 2022-10-18 20:10:37 +02:00
derekpierre f972c72470 Code cleanup to condition context variable - follow up RFCs from #2966. 2022-10-18 20:09:25 +02:00
derekpierre f164cfb3a9 Clenup of tests regarding `context`. Minor fix for using lists for ConditionLingo conditions instead of tuple. 2022-10-18 20:09:25 +02:00
derekpierre 46b40dcc57 Update format of `context` for tests. 2022-10-18 20:09:25 +02:00
derekpierre 15cb062940 Added some tests that provide a context for re-encryption. 2022-10-18 20:09:25 +02:00
Kieran Prasch 0acfc7e381 Support for web3.py v6 2022-10-18 20:08:52 +02:00
derekpierre 7689b446a7 Add web controller tests for handling of WorkerPoolException.
Improve efficiency of Porter tests by reducing execution timeout.
2022-04-13 11:05:03 -04:00
Kieran Prasch 320e5bc4b3 test adjustments for london fork 2022-04-04 22:01:32 -07:00
Kieran Prasch c809b69f9a Restoration of StakingEscrowDeployer and select tests; cleanup. 2022-02-21 17:23:26 -08: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 R. Prasch 2aae09f1e4 Respond to RFCs in PR #2862 2022-02-16 13:24:35 -08:00
Kieran Prasch 419e649ec7 Respond to RFCs for PR #2857 2022-02-08 11:04:34 -08:00
Kieran Prasch ee2a5190e6 adjust tests 2022-02-08 11:04:27 -08:00
Kieran Prasch 622ae3429a Removes PolicyManagerPayment 2022-02-08 11:04:27 -08:00
derekpierre d442375e5f Cleanup of Porter tests to account for duration_periods no longer needed for sampling. 2022-02-08 11:04:27 -08:00