Commit Graph

66 Commits (9d0a47175c2e760d24445fd1197b0586fdf1c3a1)

Author SHA1 Message Date
David Núñez 3da6bdf087 Don't set globally a default domain in tests
Otherwise, tests are not modeling real behavior, where we don't have a default.
2020-01-19 19:58:38 +01:00
David Núñez 4ca3ffe6de Adapt `nucypher stake` logic to inclusion of --network option 2020-01-19 02:59:14 +01:00
David Núñez b802af8223 A RegistrySourceManager for tests that only uses a tailored MockRegistrySource
It assumes that the only valid network is TEMPORARY_DOMAIN
2020-01-19 02:59:14 +01:00
derekpierre fe1a6c8fe4 The recommendation provided after detecting a missing configuration file was incorrect for the StakeHolder configuration.
Fix incorrect message for missing configuration file when default configuration file not found
2020-01-10 16:04:44 -05:00
Kieran R. Prasch 8cf8397726 Adjustments to config tests to loosen up a little and allow for config versioning to be seperately tested. 2020-01-02 12:41:44 -08:00
derekpierre 1cacffa153 Fix in memory SQLite test case 2019-11-25 21:57:37 -05:00
Kieran R. Prasch b27aaa8f5d Use in-memory sqlite for sql node storage testing. 2019-11-25 17:09:09 -08:00
derekpierre 1da11ed1d6 Initial code for SQLiteForgetfulNodeStorage to eventually be used for tracking network status 2019-11-25 16:22:50 -08:00
Michael Egorov f0014f4b13
All characters use keyring 2019-10-14 12:30:11 -07:00
Michael Egorov 038f822e27
Unlock keyring before test 2019-10-12 13:15:39 -04:00
Michael Egorov 6521fcc53b
Test Alice with keyring: fail 2019-10-12 13:10:56 -04:00
Kieran Prasch c70ed348c0
Test replicating #1279 using the CLI. 2019-08-30 15:41:32 -07:00
Kieran Prasch b20cf2f6f6 Test fixes: Alter estimate gas to use blockchain factory; Restore accidentally renamed deployment files. 2019-08-27 09:56:41 -07:00
Kieran Prasch e1cb849a3a
Improve Stakeholder API tests. 2019-07-25 15:18:29 -07:00
Kieran Prasch a5aef6f030
Manually call connect in client tests. 2019-07-15 12:06:44 -07:00
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