Commit Graph

87 Commits (d49f4834f11fa67c7c7848630898affbbe9ee083)

Author SHA1 Message Date
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
Kieran R. Prasch 891dd04d2a Cleanup: No need to pass --staker-address. Support get_worker_config_in_tests. 2020-02-23 19:20:17 -07:00
Bogdan Opanchuk 8e11c96054 Remove GroupGeneralConfig attributes asignment and replace it with method calls
Attributes don't do anything anymore
2020-01-10 11:10:53 +01:00
Bogdan Opanchuk 9197f302d6 Group CLI options into structures (including the general options, formerly click_config) 2020-01-10 11:10:53 +01:00
Kieran R. Prasch 88386c91f9 Respond to RFCs in PR #1536 2020-01-02 12:41:44 -08:00
Kieran R. Prasch 4324618128 Disable hardcoded seednodes in conftest. 2020-01-02 12:41:44 -08:00
Kieran R. Prasch a4ce120e1d Removes selenium conftest setup. 2019-11-25 16:22:50 -08:00
derekpierre 95bbc502f0 Remove pytest-dash from all dependencies
Rebuild dependencies to include dash[testing]
2019-11-25 16:22:50 -08:00
derekpierre 7daedf4bf6 Initial code to transition tests to dash[testing] from pytest-dash.
Note, tests are skipped and don't yet work with dash[testing] - this is to allow for CI builds to pass
2019-11-25 16:22:50 -08:00
derekpierre 9106231ccb Moe/Ursula status page: Updated unit tests for ursula status page
Hooked up pytest-dash/selenium for UI test
Removed extra logging
2019-11-25 16:22:50 -08:00
David Núñez 6add1d8275 Add support to @pytest.mark.nightly marker to signal nightly tests 2019-09-30 23:05:07 +02:00
Kieran Prasch 22fc7d16b4 Adapt PeriodTracker to WorkTracker; Geth client duration bug fix. 2019-08-31 11:32:25 -07:00
Kieran R. Prasch ea47bfa4c5 Disable account auto-relocking during pytests. 2019-08-30 21:05:57 -07:00
Bogdan Opanchuk b473c0f4bd
Hide registering/unregistering observers and Sentry init inside utilities/logging
Also add a check that Sentry SDK is only initialized once
2019-07-25 15:18:29 -07:00
Kieran Prasch 50e93a7598
Updates Sentry LoggingIntegration with logger blacklist, breadcrumb hooks. Removes twisted logging from geth process. 2019-06-12 16:37:39 -07:00
Kieran R. Prasch c6c6f66b8b
New client test module; Skip geth client signature integration test on CI until a better solution is found. 2019-06-03 22:52:22 +03:00
Kieran Prasch 3fbb5ef426
Felix database skeleton and registrtion view stubbing 2019-03-26 11:35:57 -07:00
Kieran Prasch 244f0e0885
Update tests to accomodate staking CLI requirements: orders blockchain Ursulas, better fixture organization; Staking CLI integraton tests. 2019-03-09 17:31:28 -08:00
Kieran R. Prasch cb135577bd
Mocks keyring KDF in tests for performance; Updates control fixtures. 2019-03-06 13:52:45 -08:00
Kieran R. Prasch dae7d59768
Updates key languagse and key encodings in test; Uses latest modifer flags ordering 2019-03-06 13:52:45 -08:00
Kieran R. Prasch ea4de4d95a
Top-level character controller class: Generic Controller usage (works for any character) 2019-03-06 13:48:22 -08:00
MacLane Wilkison 86116706ff Change license notices in module headers to AGPL 2019-03-04 18:55:28 -08:00
MacLane Wilkison 9ed5b1e6f6 Remove unused variables+imports and make PEP 8 fixes in tests 2019-02-15 15:12:33 -07:00
jMyles 9a11a30be5 Remove Sentry observer in tests. 2019-02-15 00:28:53 -07:00
jMyles fd435c1a32 Single entry into log setup. 2019-02-15 00:28:53 -07:00
Kieran R. Prasch 90764287fe Update cli.config usage within the nucypher codebase. 2019-02-12 09:19:11 -07:00
jMyles 52bf0acf52 Removing second addition of observer. Fixes #728. 2019-02-08 10:06:23 -07:00
jMyles aa64f5820c Fixing these timing tests, although I still have my suspicions that there's a 598 monster hiding somewhere under here. 2018-12-06 23:58:32 -05:00
jMyles f19601912d Fixed imports and some other formatting issues following merge commit. 2018-12-06 21:19:57 -05:00