Commit Graph

51 Commits (88c6cbbcd64a4dfbfd9cf258caf15d8f7d6d0e2d)

Author SHA1 Message Date
Kieran Prasch b98dfb9986 Respond to RFCs in PR #1066; Docstrings and annotations for Baseconfiguration. 2019-07-04 11:22:39 +02:00
Kieran Prasch 66b0e25165 Robust tests for BaseConfiguration API; Second layer for character configurations; Return of ABC. 2019-07-04 11:22:39 +02:00
Kieran Prasch 09c8847c14 Dehydration and cleanup of keyring attachment and checksum address selection. Touch ups. 2019-07-04 11:22:39 +02:00
Kieran Prasch 65d1b7aa51 Allow contract registry to write to a globally default location (config root) despite using a custom configuration root at init time. 2019-07-04 11:22:38 +02:00
Kieran Prasch 701c7b5f15 CharacterConfiguration subclasses implemnt BaseConfiguration class attrs; Reorganize tests.config 2019-07-04 11:22:38 +02:00
Kieran Prasch d888c60607 Adds BaseConfiguration and Ursula standard configurations tests; Style touchups, Preserving 'checksum_address'. 2019-07-04 11:22:38 +02:00
Kieran Prasch c077db8ed6
Generic and specific character configuration testing 2019-06-08 14:26:07 -07:00
Kieran Prasch f90cc4542e
Testing decentralized grant, Adds missing datetime to policy creation tests. 2019-06-08 14:26:05 -07:00
Kieran Prasch 6097c83eb7
Almost all of checksum_public_address -> checksum_address 2019-06-08 14:25:35 -07:00
Kieran Prasch 75bc63fd89
Tear wallets and wallet generation out of NucypherKeyring 2019-03-09 17:29:54 -08:00
Kieran R. Prasch 30220a4ea1
Deprecate S3Bucket NodeStorage; Fininsh moving Banners. 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
Damon C d31e86b3d1 platform agnostic tempdir fixes #791 2019-02-19 22:18:52 -07:00
MacLane Wilkison 9ed5b1e6f6 Remove unused variables+imports and make PEP 8 fixes in tests 2019-02-15 15:12:33 -07: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 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