Commit Graph

2851 Commits (eef389e5918dc7564eab4dd33d6b1719fde2803d)

Author SHA1 Message Date
jMyles 801f625fe8 No sense generating a cert here; it just makes the failure case more difficult to track down. 2018-12-06 18:10:05 -05:00
jMyles a0d4ffbbd6 Using new splitter. Requires new version of BytestringSplitter. 2018-12-06 18:10:05 -05:00
jMyles c1edd537b2 Tests for decentralized metadata verification. #573 2018-12-06 18:04:11 -05:00
jMyles 98d64553a6 Handle metadata error first. 2018-12-06 18:04:11 -05:00
jMyles 1e77e4445c Move stamp substantiation to Teacher init time. 2018-12-06 18:04:11 -05:00
jMyles 4065a2ab57 Pass identity evidence through Ursula. 2018-12-06 18:04:11 -05:00
jMyles f0745c7940 Transition to logging class to use log levels. 2018-12-06 18:04:11 -05:00
jMyles 2365f2b2d1 Don't save any previously saved states, even if the 'new' one is not the current one. 2018-12-06 18:04:11 -05:00
jMyles 2b4ac9cbab VerifiableNode -=> Teacher. Also starting to version Teachers. 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
jMyles 9be9ac7370 Record node snapshots only at the end of a learning round, not every time a node is remembered. 2018-12-06 18:04:11 -05:00
Kieran Prasch 164d499884
Consolidate contract tests; further simplify job names. 2018-12-05 18:26:38 -08:00
Kieran Prasch 8b5026afb8
Post-rebase merge commit: circleCI 2018-12-05 18:02:52 -08:00
Kieran Prasch 1c45b7b9d7
Update ursula web status template; Template Rendering Exception handling; Add simple template rending test. 2018-12-05 16:17:03 -08:00
Kieran Prasch 1c86a07a13
Integrate FleetState into NodeConfiguration; checksum_address -> checksum_public_address 2018-12-05 16:17:03 -08:00
Kieran Prasch 9a83488281
FleetState CLI status display bug fix when there are no known nodes 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 b7122dd376
Use cli.types in deploy cli 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 b2669b8edf
Extrapolate more testing steps for CI workflows; Skip publication steps (preversion). 2018-12-05 16:16:59 -08:00
Kieran Prasch 3806fe68f7
Integrated test entry point configuration and executable 2018-12-05 16:07:30 -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 e3fea104c1
Small bug fixes on CLI destroy and transport.write 2018-12-05 16:07:30 -08:00
Kieran Prasch 35a8476cb7
Adds integrated CLI test entry point 2018-12-05 16:07:28 -08:00
Kieran Prasch 4ac045a78a
Adjust CI: Fixes missing jobs, dependency and tests wheel builds; Slim CI job names. 2018-12-05 16:07:01 -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 a866e4232e
Use sqlite :memory: db for dev configurations, as a fallback, and for tests. 2018-12-05 15:59:52 -08:00
Kieran Prasch ed23e08df1
Update tests to use thinned keyring and configuration API 2018-12-05 15:59:50 -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 6cbe8e5f3d
Organize Learner / Server methods; Recompose after diffusing cli utilities. 2018-12-05 15:59:19 -08:00
Kieran Prasch 14ba280294
Restore remember_node code path when learning through crosstown traffic; Adds forgetful storage for cert peeking; Neww callable for proxy rest server 2018-12-05 15:59:19 -08:00
Kieran Prasch 154348a0d6
Cleanup ugly constant sorrow imports 2018-12-05 15:59:16 -08:00
Kieran Prasch b57d8cf88b
Deprecate accounts CLI tests 2018-12-05 15:58:20 -08:00
Kieran Prasch 785f4c37a0
Naming and comments adjustment for keyring 2018-12-05 15:58:20 -08:00
Kieran Prasch 11afd1b50c
Round-up more test constants 2018-12-05 15:58:20 -08:00
Kieran Prasch 6a79833165
Click common validators for CLI module 2018-12-05 15:58:20 -08:00
Kieran Prasch 5fe7de5ef6
Dedicate a module for console painting 2018-12-05 15:58:20 -08:00
Kieran Prasch 04c0db0b49
Ursula command protocol contains fleet state, uses comon utilities. 2018-12-05 15:58:20 -08:00
Kieran Prasch 92d71a5531
Deprecate and diffuse cli.utilities 2018-12-05 15:58:20 -08:00
Kieran Prasch 58d279448c
deprecate nucypher accounts 2018-12-05 15:58:20 -08:00
Kieran Prasch 367c4e6c63
Divide interface from utility logic for CLI; Move config method to NodeConfiguration subclasses. 2018-12-05 15:58:20 -08:00
Kieran Prasch e343a675ac
Push common learner configuration logic down to NodeStorage; Pre and Post character production logic, extracted keyring unlock UX. 2018-12-05 15:58:20 -08:00
Kieran Prasch 305eadc8d8
Updates tests with NodeStorage internal API usage; passphrase -> password 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 646816d481
Keeps finnegans wake up to date with db_filepath changes 2018-12-05 15:58:20 -08:00