Commit Graph

73 Commits (3ac4a2c2acb7df0d0d521d5afa5d64fc691fc5a3)

Author SHA1 Message Date
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
jMyles a3fb853ffa Pre-arranged merge commit between @kprasch and myself to reconcile our branches.
Quite a few conflicts resolved.
2018-12-06 20:55:09 -05:00
jMyles c1edd537b2 Tests for decentralized metadata verification. #573 2018-12-06 18:04:11 -05:00
jMyles 854524c7ef Default LogLevel for tests is now 'info' 2018-12-06 18:04:11 -05:00
Kieran Prasch 305eadc8d8
Updates tests with NodeStorage internal API usage; passphrase -> password 2018-12-05 15:58:20 -08:00
Kieran Prasch 6070409045
Disable file logging during tests 2018-12-05 15:57:21 -08:00
jMyles b314345c36
Default LogLevel for tests is now 'info' 2018-12-05 15:57:21 -08:00
Kieran Prasch c45e534823
Understand nucypher CLI to be a module 2018-11-09 09:29:49 -08:00
Kieran Prasch 1444650230
Include pytest fixtures via plugin injection method. 2018-11-09 07:49:31 -08:00
Kieran Prasch ce5ed3dc76 Further reduce sentry scope. Thin CLI API; Pretty Loggers; Cleanup cruft 2018-11-06 23:17:46 +01:00
Kieran Prasch 0fefd7d64e Tasty breadcrumbs; Cleanup stale logging methods, make pretty. 2018-11-06 23:17:46 +01:00
jMyles ef0ccff29b Sentry logging in CLI only. 2018-11-06 23:17:46 +01:00
tuxxy 98f7d3e213 Remove Sentry logging if pytest is running 2018-11-05 06:15:38 -07:00
tuxxy 7feabb6cb2 Add GPLv3 -- nucypher is free as in freedom 2018-11-04 13:16:42 -07:00
jMyles dbd96f3689 Stopping learning at end of tests; using Twisted logs for tests. 2018-11-03 22:48:11 +01:00