Commit Graph

37 Commits (b7ea72b919613190c0ea57945124814d32356014)

Author SHA1 Message Date
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 45116dd6bc
Bake in certificate checksum_address extracation to tls saving methods. 2019-01-16 09:48:09 -08:00
jMyles 12d5ab0489 Two changes in tests to reflect new APIs: 1) Vladimir gets a cert filepath and 2) We don't pass tls as a kwarg anymore for keyring. 2019-01-15 15:20:17 -05: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
David Núñez 19dd593256
Merge pull request #605 from KPrasch/config
Ursula Development Configuration Test
2018-12-17 22:12:37 +01:00
David Núñez 0bb34fc5f7
Update tests/config/test_ursula_config.py
Co-Authored-By: KPrasch <kieranprasch@gmail.com>
2018-12-17 12:51:04 -08:00
Tux 60ab41c82d
Merge pull request #611 from tuxxy/AAA2018-is-gonna-ruin-the-internet
Rename EncryptingKeypair/EncryptingPower to DecryptingKeypair/DecryptingPower
2018-12-14 01:49:10 -05:00
Kieran Prasch e9a8af68b5
Ursula development configuration + character integration test 2018-12-13 16:12:51 -08:00
tuxxy 92cc46ad8c Rename EncryptingPower/EncryptingKeypair to DecryptingPower/DecryptingKeypair (#597) 2018-12-13 14:17:22 -07:00
Kieran Prasch c235bb45bb
Select a possibly open non-default port for running tests 2018-12-11 10:01:35 -08: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 ece4bf2808 Each Ursula in a concat'd bytestring is variable length. 2018-12-06 18:10:05 -05: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 305eadc8d8
Updates tests with NodeStorage internal API usage; passphrase -> password 2018-12-05 15:58:20 -08:00
Kieran Prasch 844c2a4674 Refactor node storages backend tests; Accomodate pytest>4 2018-11-16 14:26:31 -08:00
jMyles fea6b6a258 Tests now reflect state changes. 2018-11-16 10:26:29 -08:00
jMyles 71bbc2772c Nodes can directly iterate and introspect known_nodes now. 2018-11-16 10:24:26 -08:00
Kieran Prasch 6de086b2a9
skip leaky string validator 2018-11-10 12:47:30 -08:00
K Prasch 7b6a65f37b
Merge pull request #531 from cygnusv/keyring
Persistent DelegatingPower
2018-11-10 12:17:45 -08:00
Kieran Prasch 2f1e6eec20
Test database teardown logic 2018-11-09 09:30:15 -08:00
David Núñez 15269d5d0e Initial testing of Keyring 2018-11-08 12:50:13 +01:00
David Núñez a2c6618b41 Janitorial stuff 2018-11-08 12:06:35 +01:00
Kieran Prasch 7124364415 Skip S3 Storages Tests - Bump Solc version. Organize Pipfile. 2018-11-06 16:30:35 +01: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
jMyles 6ee0c606f5 Fixing test race condition. 2018-10-27 23:26:33 +02:00
jMyles b1aef7fdb3 Changing remaining 'bootnode' references to 'seednode'. 2018-10-27 22:36:02 +02:00
jMyles a71784a8c6 A real test showing the seed node giving its cert via hendrix. 2018-10-27 22:36:02 +02:00
jMyles 2eb27f3f68 Better test for node storage in learning loop. 2018-10-27 22:36:02 +02:00
jMyles 0ba7db7970 node storage commented out, lots of slow tests skipped, but things pass now. 2018-10-27 22:20:05 +02:00
jMyles eae0e12ed5 Initial test for firstula situation. 2018-10-27 22:20:05 +02:00
jMyles 34f6c73b2e Seed nodes can now be passed separately to bootstrap learning loop. 2018-10-27 22:20:05 +02:00
Kieran Prasch c31906b067 Improved NodeStorage test accuracy and coverage; Mock S3 2018-10-09 23:41:23 -07:00
Kieran Prasch 1edc9773d7 Test coverage for NodeStorages; Mocked LocalFile and S3 Backends 2018-10-09 23:41:23 -07:00