Commit Graph

186 Commits (ab6dfa7e1db3c908dba8e5cd3e657e2605deeb0d)

Author SHA1 Message Date
Kieran Prasch a4b4928ea7
Toying with tests built for pygeth 2019-03-09 17:28:57 -08:00
Kieran Prasch 84ef320a4c
Updates policy encrypting key derivation language. 2019-03-06 16:39:02 -08:00
Kieran Prasch 1be1dab6c8
Respond to RFCs in PR #802. 2019-03-06 16:29:33 -08:00
Kieran R. Prasch 5a4f0e3bbc
Completed E2E CLI lifecycle tests with the 'ETHDenver demo' narrative. 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 37483fd481
Mock side channel class in CLI lifecycle test.... back to Unexpected Response DB Issues with Alice threading 2019-03-06 13:48:22 -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
Kieran R. Prasch bef3eacb92
E2E CLI Lifecycle test draft 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 9ff5f7b6f8 Some rapid crazy changes with @kprasch to fix failing tests. 2019-02-15 00:30:44 -07:00
Kieran R. Prasch c43cdd573b Update Tests with corrected naming conventions for Flask test client - bug fixes for CLI tests. 2019-02-15 00:28:53 -07:00
Kieran R. Prasch 0da9d5cadd Fix filename spelling error in examples 2019-02-15 00:28:53 -07:00
Kieran R. Prasch bf2a5669d3 Test Alice CLI module 2019-02-15 00:28:53 -07:00
Kieran R. Prasch 86f9720461 Organize CLI Tests by Character 2019-02-15 00:28:53 -07:00
jMyles 3204427d4e Remaining formatting, reprs, imports, and cleanups from my work following @tuxxy's rebase. 2019-02-15 00:28:53 -07:00
jMyles 83bbf5b03b Tests and fixtures for Alice control via config. 2019-02-15 00:28:53 -07:00
tuxxy 37d4e1799f Add first draft of alice CLI for character control 2019-02-15 00:28:53 -07:00
Kieran R. Prasch ad5da13cd9 First draft of Moe provisioning with ansible 2019-02-14 11:32:34 -07:00
Kieran R. Prasch 162af4b51b CLI + Learner Integration tests for Ursula and Moe 2019-02-13 13:09:53 -07:00
Kieran Prasch 329114db29 Update and test Moe. 2019-02-12 15:19:42 -08:00
Kieran R. Prasch 90764287fe Update cli.config usage within the nucypher codebase. 2019-02-12 09:19:11 -07:00
Kieran Prasch 35d4d23405
Fixes and lightly tests Issue #711 2019-01-30 11:46:00 -08:00
jMyles 150d73da4e Accounting for an earlier refactor by @KPrasch. 2019-01-22 17:04:23 -05:00
Kieran Prasch 4fa2fa8e42
Handles Alice database in config subclass, Use sqlalchemy default development database instead of pure in-memory (#662) 2019-01-16 11:21:32 -08:00
Kieran Prasch be456e09ff
Fixes Issue #583: Allow 'nucypher ursula run' to destroy invalid nucypher system configurations. 2019-01-05 09:27:48 -08:00
Kieran Prasch 46f76ad21c
Fixes Issue #634: Restore CLI test for nucypher ursula run --dev --federated-only. 2019-01-05 09:27:48 -08:00
Kieran Prasch d6ad99a8e0
Ensure that operating mode is determined via configuration. 2018-12-11 10:01:35 -08:00
Kieran Prasch 3b436588a4
Restore the usage of --federated-only in CLI tests; Dedicate federated ursula CLI test module. 2018-12-11 10:01:35 -08:00
Kieran Prasch 84a1283556
Restores blockchain interface connection configuration 2018-12-11 10:01:35 -08: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 ece4bf2808 Each Ursula in a concat'd bytestring is variable length. 2018-12-06 18:10:05 -05:00
Kieran Prasch 1c86a07a13
Integrate FleetState into NodeConfiguration; checksum_address -> checksum_public_address 2018-12-05 16:17:03 -08:00
Kieran Prasch 0afe4cc14a
Mock default installation to ensure rest_host it correctly set; Includes pytest-mock Pipfile update. 2018-12-05 16:17:03 -08:00
Kieran Prasch 3ea8c8269f
Extract cli fixtures: Test CLI help and status. Bug fixes to match. Optioal config_file envvar. 2018-12-05 16:17:03 -08:00
Kieran Prasch 0811666133
nucypher cli status automated test 2018-12-05 16:17:03 -08:00
Kieran Prasch 22f3921f38
Dedicated cli help test module 2018-12-05 16:17:03 -08:00
Kieran Prasch 0705e2f424
Disband cli.constants; Logging bug fixes. 2018-12-05 16:17:03 -08:00
Kieran Prasch 0192a1d16f
Tests and bug fixes for password collection via CLI 2018-12-05 16:17:03 -08:00
Kieran Prasch 3a840171b7
Through checking of config file existing; Mock line recv. transport. 2018-12-05 16:07:30 -08:00
Kieran Prasch b0170f1124
Add ursula command test job, remove 'unit' language from CI config 2018-12-05 16:04:32 -08:00
Kieran Prasch 8b2a33b48f
Basic tests for UrsulaCommandProtocol 2018-12-05 15:59:52 -08:00
Kieran Prasch 6ab8f4862f
bite-sized end-user CLI testing for Ursula CLI operations 2018-12-05 15:59:19 -08:00
Kieran Prasch b57d8cf88b
Deprecate accounts CLI tests 2018-12-05 15:58:20 -08:00
Kieran Prasch 14d5189787
First bout of testing for new Ursula CLI API 2018-12-05 15:58:20 -08:00
Kieran Prasch 1380fef5ea
Remove CLI config tests 2018-12-05 15:58:20 -08:00
Kieran Prasch d0e023ba03
Fixes nucypher-deploy entry point 2018-12-05 15:58:20 -08:00
Kieran Prasch 1f820e0659
Prepare test for cli namespace change and formal cli module 2018-12-05 15:58:20 -08:00
Kieran Prasch 03428ab412
relocate CLI script and remap entrypoint 2018-12-05 15:57:21 -08:00
Kieran Prasch 704f41a744 Refactor node storages backend tests; Accomodate pytest>4 2018-11-19 23:53:44 +01:00
Kieran Prasch c45e534823
Understand nucypher CLI to be a module 2018-11-09 09:29:49 -08:00
Kieran Prasch 21f8c4fb8a
Make federated-only the CLI default 2018-11-09 08:53:36 -08:00
Kieran Prasch 19350c524d
Understand cli.py to be a script 2018-11-09 07:49:31 -08:00
tuxxy 7feabb6cb2 Add GPLv3 -- nucypher is free as in freedom 2018-11-04 13:16:42 -07:00
Kieran Prasch b3b644f7a0 Agent and deployer layer testing, including beneficiary contracts 2018-10-17 09:33:30 -07:00
Kieran Prasch e1fdef9011 nucypher-cli -> nucypher; CLI cleanup 2018-10-14 20:25:37 -07:00
Kieran Prasch a945508a30 Keep default NodeStorages in memory, Unskip and resotre configuration cli tests 2018-10-09 23:42:43 -07:00
Kieran Prasch fe84935768 Create configurations to/from JSON files 2018-10-05 20:17:13 -07:00
Kieran Prasch 99532d581a Use click built-in tooling for more eager and through CLI input validation; Document all CLI options. 2018-10-02 21:29:23 -07:00
Kieran Prasch eea6e5ea01 Reintroduce skipped CLI tests; Cleaup non-critical or stale stubs. 2018-10-02 21:19:23 -07:00
Kieran Prasch ab798bb4f3 Carefully piece together NodeConfiguration that works for lazy, temp, test, and real configs; Read seed registry 2018-10-02 11:32:55 -07:00
Kieran Prasch e60706793a Optimize imports project-wide 2018-09-25 20:27:27 -07:00
Kieran Prasch 9b04aee6d0 Update tests with updates to configuration and missleware 2018-09-22 21:05:11 -07:00
Kieran Prasch aaba33290d Update tests to new learner names, help with cleanup a little. 2018-09-22 15:44:37 -07:00
Kieran Prasch 8387602295 Skip run_ursula test due to multi calls to reactor.run during tests 2018-09-21 09:39:12 -07:00
Kieran Prasch 2bcc485f93 Add local try/finally in cli.config test to cleanup a single test dir 2018-09-21 09:03:45 -07:00
Kieran Prasch e39ffc8461 Work on lazy default configurations; NetworkMiddleware default values 2018-09-21 09:03:02 -07:00
Kieran Prasch db0219ff24 straggler Teacher -> Learner 2018-09-20 12:57:23 -07:00
Kieran Prasch c0cde6778d Test coverage for run_ursula CLI: lone ursula 2018-09-20 12:54:16 -07:00
Kieran Prasch d1ffec14c2 CLI configuration test coverage; Mark unimplemented test as skip 2018-09-19 17:01:01 -07:00
Kieran Prasch c23ff73002 Working lonely federated node via CLI using UrsulaConfiguration API 2018-09-19 21:40:35 +02:00
Kieran Prasch f8ce7f5520 Extract learning logic into abstract Teacher class 2018-09-18 09:21:24 -07:00
Kieran Prasch f64cfc28f6 Improve accounts error handling; Trim non-essential test stubs 2018-09-18 09:19:51 -07:00
Kieran Prasch 31705a7fe6 Use temp config in CLI test; Add temp node config fixture 2018-09-18 09:19:51 -07:00
Kieran Prasch bdf522d0a1 Remove experimental pyfakefs code 2018-09-18 09:18:41 -07:00
Kieran R. Prasch 7a725fe0ab Include NodeConfiguraion in CLI - Fixup constants, naming, and imports wlongside DHT removal. 2018-09-18 09:18:41 -07:00
jMyles 4413dc952c More hacking and slashing on the DHT removal and config sanity. 2018-09-11 00:41:44 +02:00
Kieran R. Prasch a8dba1b738 Use class-based injectable configuration; Continue to Extricate DHT violently. 2018-09-11 00:29:28 +02:00
Kieran R. Prasch 77766933fa Node storage classmethods, Stub fs isolation with tempdir 2018-09-11 00:29:28 +02:00
Kieran R. Prasch f7c0d7959e Entry points for saving TLS certs + Network Middleware updates for TLS verification. 2018-09-11 00:29:28 +02:00
Kieran R. Prasch 22823ee88c Executes node learning from CLI 2018-09-10 16:13:06 +02:00
Kieran R. Prasch 198071e21e Remane nucypher CLI module; Additional CLI testing stubs for debugging ease. 2018-09-10 16:13:06 +02:00
Kieran R. Prasch 1288fc19f9 Stub CLI tests: One test module per command. 2018-09-10 16:13:06 +02:00
Kieran R. Prasch dfebbe55ff Add CLI test modules 2018-09-10 16:13:06 +02:00
Kieran R. Prasch e88eb9a138 Add Initial nucypher-cli (click) tests module 2018-09-10 16:13:06 +02:00