Commit Graph

107 Commits (2d518f8e625e22229037431e6e2f496d4f8327dc)

Author SHA1 Message Date
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