Kieran Prasch
|
c235bb45bb
|
Select a possibly open non-default port for running tests
|
2018-12-11 10:01:35 -08:00 |
Kieran Prasch
|
c90026c7a2
|
Seperates config.produce from init-parameter generation; DRY up shared blockchin config log on NodeConfiguration and NodeStorage
|
2018-12-11 10:01:35 -08:00 |
Kieran Prasch
|
1c86a07a13
|
Integrate FleetState into NodeConfiguration; checksum_address -> checksum_public_address
|
2018-12-05 16:17:03 -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
|
1f820e0659
|
Prepare test for cli namespace change and formal cli module
|
2018-12-05 15:58:20 -08:00 |
David Núñez
|
4ab7ad1252
|
DataSource.encapsulate_single_message() --> DataSource.encrypt_message()
|
2018-12-03 12:07:33 +01:00 |
Kieran Prasch
|
2f1e6eec20
|
Test database teardown logic
|
2018-11-09 09:30:15 -08:00 |
Tux
|
883ad1dda1
|
Merge branch 'cedar' into install-communism
|
2018-11-05 06:09:49 -07:00 |
tuxxy
|
7feabb6cb2
|
Add GPLv3 -- nucypher is free as in freedom
|
2018-11-04 13:16:42 -07:00 |
David Núñez
|
310e2f3a55
|
Move certificates_temdir fixture to fixtures module
|
2018-10-29 01:52:01 +01:00 |
David Núñez
|
e13ef06787
|
Some pending renamings (uri -> label, signing_key -> verifying_key)
|
2018-10-29 01:51:56 +01:00 |
David Núñez
|
1819f9b1af
|
Fixture for Data source must include the label
|
2018-10-28 20:08:59 +01:00 |
Kieran R. Prasch
|
eec736d340
|
Deprecate arming in favor of readiness checks; Generate a default DB name for Ursulas.
|
2018-10-27 21:51:32 +02:00 |
Kieran Prasch
|
4c01385416
|
Tests deployment and agency components with layering in mind, (Includes UserEscrow) mirrors lower level tests with higher-level integration points
|
2018-10-27 21:51:28 +02:00 |
Kieran Prasch
|
b3b644f7a0
|
Agent and deployer layer testing, including beneficiary contracts
|
2018-10-17 09:33:30 -07:00 |
Kieran Prasch
|
5f84157b96
|
Derive HostingPower from Keyring
|
2018-10-14 20:19:02 -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
|
f13910c365
|
Dont load metadata in test configurations
|
2018-10-08 11:22:28 -07:00 |
Kieran Prasch
|
888a4d4382
|
Character pre-init logic for keying in dev mode and for pre-existing accounts
|
2018-10-05 20:17:13 -07:00 |
Kieran Prasch
|
3a31468512
|
Running multi-host env via CLI; Temp config keyring handling
|
2018-10-05 20:17:13 -07:00 |
Kieran Prasch
|
fe84935768
|
Create configurations to/from JSON files
|
2018-10-05 20:17:13 -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
|
4ab2807a9f
|
Update test fixture to testerchain netloc URI; Inreaces test coverage for deployer and agent.
|
2018-10-02 11:32:55 -07:00 |
Kieran Prasch
|
8663bae64e
|
Dedicated method for writing the default blank registry at installation-time; Use no_seed_registry configuration during tests
|
2018-10-02 11:32:44 -07:00 |
jMyles
|
217d7b49a8
|
A few test things: Adding MockRestMiddleware where appropriate and expressly setting Ursula's verified_stamp status to False to show that it gets set to True during verification.
|
2018-10-02 17:33:53 +02:00 |
Kieran Prasch
|
7e04dd117b
|
Use static blockchain constants, removes ConstantSorrow usage for static values
|
2018-09-25 20:26:44 -07:00 |
Kieran Prasch
|
4b7fcd318e
|
split Alice.grant test by operating mode; Cleanup BlockchainPolicy in preperation for futher integration.
|
2018-09-24 18:43:01 -07:00 |
Kieran Prasch
|
d02a8bc0bf
|
split Alice and Bob fixtures by operating mode; Cleanup cleanup logic, everywhere
|
2018-09-24 18:43:01 -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
|
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
|
2384cbf7a0
|
Update fixture chatacter configurations to use local tmpdir
|
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
|
c2d35c887d
|
Remove temporary databases by database engine path reference
|
2018-09-19 16:26:15 -07:00 |
Kieran Prasch
|
7e403f39a2
|
Use pytest fixtures to cleanup temporary directories
|
2018-09-19 15:25:54 -07:00 |
Kieran Prasch
|
a63a99c3d9
|
Auto-initialize temp configuration in fixtures
|
2018-09-19 13:36:16 -07:00 |
Kieran Prasch
|
5b34800761
|
Use lazy and dynamic runtime path generation, with temp storage options
|
2018-09-19 13:21:11 -07:00 |
Kieran Prasch
|
47d50a9e1a
|
Use character configuration test fixtures.
|
2018-09-19 21:40:04 +02:00 |
Kieran Prasch
|
acd2bc1dc6
|
pass only certificate filepath through rest middleware.
|
2018-09-19 21:40:04 +02:00 |
jMyles
|
5b1cb02f2d
|
Erasing test certs in finally clause.
|
2018-09-19 21:40:04 +02:00 |
jMyles
|
e93e259eab
|
Once we have the work order, we don't separetly need the cert path, as it is affixed to the work order's Ursula.
|
2018-09-19 21:40:04 +02:00 |
Kieran Prasch
|
cbe7bc79e3
|
Bifurcate up federated and non-federated ursula generation in tests
|
2018-09-18 09:19:51 -07:00 |
Kieran Prasch
|
96865929b0
|
Updates to use namespaced sandbox utilities; Prepare to split make_ursulas.
|
2018-09-18 09:19:51 -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
|
ff90af5a06
|
Some tidying up after all the shifting around.
|
2018-09-12 14:04:02 +02: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
|
a6a219cbb0
|
Integrate downstream changes, from PR #424
|
2018-09-10 16:13:06 +02:00 |
K Prasch
|
d558c43e4a
|
Merge pull request #423 from tuxxy/flag-utils
Flag some utilities as testing-only utilities
|
2018-09-06 06:07:27 -07:00 |
tuxxy
|
d0301a7818
|
Fix imports for restructured test utilities
|
2018-09-06 06:55:28 -06:00 |
szotov
|
e1b4c82723
|
Added checking of secret in the upgrading method in the dispatcher contract
|
2018-09-01 15:46:40 +03:00 |
Kieran R. Prasch
|
06e0575642
|
Small bug fixes, post-rebase madness
|
2018-08-31 15:17:12 -07:00 |
Kieran R. Prasch
|
4de47ddd3d
|
remove stale module
|
2018-08-31 12:30:57 -07:00 |
Kieran R. Prasch
|
390b01fb2d
|
Use kprasch's fork of eth-tester; Integrate the downstream changes from PR #123
|
2018-08-31 12:22:42 -07:00 |
jMyles
|
bd41f34a70
|
Undoing some of @kprasch's partial pasting practice.
|
2018-08-31 12:20:30 -07:00 |
Kieran Prasch
|
136b485664
|
Update pyevm backend subclass, use URI for provider connection
|
2018-08-31 12:20:29 -07:00 |
Kieran Prasch
|
d23a05536c
|
Project-wide automated import optimization, followed-up with some hand-tweaking
|
2018-08-31 12:15:55 -07:00 |
Kieran Prasch
|
0cc2f3792f
|
CircleCI: directly use install solc script to dodge pipenv api changes
|
2018-08-31 12:11:45 -07:00 |
Kieran Prasch
|
3154fb97b6
|
Project-wide automated import optimization, followed-up with some hand-tweaking
|
2018-08-31 11:55:04 -07:00 |
Kieran Prasch
|
8e1c8eb375
|
CircleCI: directly use install solc script to dodge pipenv api changes
|
2018-08-31 11:50:19 -07:00 |
Kieran Prasch
|
d8d227309f
|
Bifurcate interfaces module; Circumflex -> Interface
|
2018-08-31 11:47:42 -07:00 |
Kieran Prasch
|
98f9b7f4c9
|
Update pyevm backend subclass, use URI for provider connection
|
2018-08-31 11:47:38 -07:00 |
Kieran Prasch
|
a71cb13730
|
Project-wide automated import optimization, followed-up with some hand-tweaking
|
2018-08-31 11:33:43 -07:00 |
Kieran Prasch
|
c177260684
|
CircleCI: directly use install solc script to dodge pipenv api changes
|
2018-08-31 11:31:47 -07:00 |
Kieran Prasch
|
f5c9f19b70
|
Project-wide automated import optimization, followed-up with some hand-tweaking
|
2018-08-31 11:27:59 -07:00 |
Kieran Prasch
|
f1917560a6
|
CircleCI: directly use install solc script to dodge pipenv api changes
|
2018-08-31 11:19:45 -07:00 |
Kieran Prasch
|
0601094d3f
|
Fix several bad imports post-rebase
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
b5e029a4ca
|
Support dynamicly added, lazy, multiple blockchain providers
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
4df1f077fb
|
add demo action to simulation command
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
ffa70a117d
|
Running federated ursula from CLI - Centralizes runtime cruft with injectable overrides while still considering ini config values.
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
905a0151fb
|
keep contract tests passing alongside api changes (intermediate)
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
979d5e8def
|
Eliminate __init__.py under any test directory; Relocate utilities.
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
177cca303e
|
Delay the initialization of agents during CLI runtime + small missing kwarg fix.
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
2f19b262c4
|
Small bug fixes
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
4fd09802ff
|
CircleCI: directly use install solc script to dodge pipenv api changes
|
2018-08-31 10:53:18 -07:00 |
Kieran Prasch
|
9535a80c52
|
clean-up test utils modules
|
2018-08-31 10:52:19 -07:00 |
Kieran Prasch
|
12148a8d57
|
Clean-up imports, fixes downstream changes from pyUmbral; re-handle key importing util.
|
2018-08-31 10:52:19 -07:00 |
jMyles
|
188d301f61
|
Blockchain test compatibility in make_ursulas.
|
2018-07-19 20:19:24 -07:00 |
jMyles
|
b551067603
|
Making a distinction between blocking until some number of nodes (any nodes) are learned and blocking until some specific set of nodes are learned.
|
2018-07-18 20:20:20 -07:00 |
jMyles
|
417884a791
|
Some cleanup for make_ursulas. Lots more to do. #347
|
2018-07-18 20:20:20 -07:00 |
szotov
|
d991ca7ba3
|
Minor improvements for Windows compatibility
|
2018-07-17 22:39:12 +03:00 |
jMyles
|
a88052c9a2
|
Separating blockchain Alice from regular ole' Alice. Style touch-ups.
|
2018-07-10 10:14:42 -07:00 |
Kieran Prasch
|
162c542df4
|
Combine and reorganize fixture modules
|
2018-07-05 11:54:45 -07:00 |
jMyles
|
7cf5bbf3f2
|
Fixed up args and kwargs for Character (although needs some organization).
|
2018-07-05 11:54:45 -07:00 |
jMyles
|
303b4dfc8c
|
More test touchups and fixture organization, in anticipation of #338.
|
2018-07-02 20:44:09 -07:00 |
Kieran Prasch
|
8204351b6f
|
Integrate three agents with existing fixtures, restore token airdrop as a utility function.
|
2018-06-26 01:10:45 -07:00 |
jMyles
|
edba3a336d
|
Using to_canonical_address instead of unhexlify.
|
2018-06-23 14:33:46 -07:00 |
jMyles
|
cced06514d
|
Catching tests up with federated logic.
|
2018-06-22 20:28:08 -07:00 |
jMyles
|
742a00e799
|
Deprecating testerchain in favor of three_agents. Using three_agents in ursulas fixture. This fixture now returns a set.
|
2018-06-22 20:27:15 -07:00 |
jMyles
|
2d9d25ab8a
|
Using token airdrop and dropping MockTokenAgent.
|
2018-06-22 20:23:18 -07:00 |
jMyles
|
e7375e0d98
|
Removing is_federated and using federated_only instead.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
b2e5d9958e
|
Evolved tests and fixtures. Mocking some blockchain logic and discovered Ursulas with learning loop.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
e4253b6c5d
|
Including Ursula ether address as part of public information.
|
2018-06-20 10:13:26 -07:00 |
jMyles
|
0c7646fa94
|
Working known_nodes into fixtures and tests.
|
2018-06-20 10:13:26 -07:00 |
Kieran Prasch
|
7a35c4b24b
|
Hack together MockRestMiddleware, temp fix until implementing node learning.
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
e2eb556e10
|
Middleware -> RestMiddleware
|
2018-06-20 10:12:27 -07:00 |
Kieran Prasch
|
94d94d3407
|
Additional deprecation of alice DHT usage.
|
2018-06-20 10:12:27 -07:00 |
jMyles
|
00d0e64c7e
|
Goodbye nucypher_test_config.
|
2018-06-20 10:12:26 -07:00 |
jMyles
|
a02a252d3d
|
Style fixes.
|
2018-06-20 10:12:26 -07:00 |
Kieran Prasch
|
e37de07ec0
|
Begins deprecation of alice publishing Tmap to DHT; Post rebase cleanup.
|
2018-06-20 10:12:00 -07:00 |
Kieran Prasch
|
44952cd636
|
Introduces blockchain network elemtns to higher-level character tests; Additional high level blockchain setup fixtures.
|
2018-06-20 10:12:00 -07:00 |
Kieran Prasch
|
8a65ca14f2
|
Deprecated compadability fixtures, updates contract tests to testechain.interface api
|
2018-06-20 10:12:00 -07:00 |
Kieran Prasch
|
ff17d1fedb
|
Further integrate TokenActors and Characters with co-op scheme
|
2018-06-20 10:11:34 -07:00 |
Kieran Prasch
|
6e751f6775
|
Renames(mostly) NetworkyStuff to NetworkMiddleware.
|
2018-06-20 10:11:28 -07:00 |
jMyles
|
8379b23a1f
|
Stray import of Signature.
|
2018-06-02 19:54:08 -07:00 |
jMyles
|
57396ef1ca
|
Fixing the setting of keys for cfrag correctness check, and explicitly passing a constant value so that these tests can be run in isolation.
|
2018-06-02 16:24:40 -07:00 |
K Prasch
|
05abf4dadf
|
Merge branch 'master' into actor-integration
|
2018-05-31 10:18:37 -07:00 |
jMyles
|
fa6a4f6f57
|
Using pyUmbral Signer as SignatureStamp's signing function.
|
2018-05-28 12:10:05 -07:00 |
Kieran Prasch
|
722cf9918f
|
Nucypher and BlockchainConfig and it's tenticles; Related NucypherConstants and ContractInterface updates.
|
2018-05-24 10:48:57 -07:00 |
jMyles
|
41805d5d06
|
Removing references to 'KMS'
|
2018-05-08 13:02:18 -07:00 |
K Prasch
|
7dcdf474f2
|
Merge branch 'master' into solc-pipeline
|
2018-04-23 00:02:08 -07:00 |
jMyles
|
f4d43470d2
|
DelegatingPower now derives its Keypairs from a label.
|
2018-04-18 23:56:13 -07:00 |
jMyles
|
3f55470870
|
Tests for new Bob and TreasureMap logic.
|
2018-04-17 01:53:46 -07:00 |
Kieran Prasch
|
b713d2d8e8
|
Merge remote-tracking branch 'upstream/master' into solc-pipeline
|
2018-04-15 12:34:44 -07:00 |
Justin Holmes
|
0bae3d04df
|
Merge branch 'master' into master
|
2018-04-13 16:22:26 -07:00 |
tuxxy
|
c043dc2867
|
Merge remote-tracking branch 'nucypher/master' into solc-registrar
|
2018-04-13 16:08:26 -06:00 |
tuxxy
|
a60032a097
|
Add tempfile_path fixture
|
2018-04-12 20:59:06 -06:00 |
Kieran Prasch
|
5ec9760a83
|
Consolidate test fixtures and utilities, optimize imports
|
2018-04-12 20:59:03 -06:00 |
jMyles
|
cfb36163b6
|
DataSource now takes the public key of the Policy, not the whole Policy. Thanks @michwill.
|
2018-04-12 19:19:28 -07:00 |
jMyles
|
da4966524c
|
Test now uses DataSource. Alice no longer needs to be online in order for a DataSource to send messages to Bob.
|
2018-04-12 19:19:28 -07:00 |
jMyles
|
fb826ef349
|
UmbralMessageKit can now be aware of a policy_pubkey.
|
2018-04-12 19:19:28 -07:00 |
jMyles
|
0a32f7f534
|
Moving Enrique and SignatureStamp out of characters. Enrique is now DataSource; SignatureStamp now lives in signature.
|
2018-04-12 19:19:28 -07:00 |
jMyles
|
67376fe607
|
Using Alice's DelegatingPower to make a Policy.
|
2018-04-12 19:19:28 -07:00 |
jMyles
|
9cc25929c8
|
No more as_b64 for UmbralPublicKeys.
|
2018-04-12 19:18:42 -07:00 |
Kieran Prasch
|
6959516ba6
|
Consolidate test fixtures and utilities, optimize imports
|
2018-04-11 20:26:03 -07:00 |
jMyles
|
1ea14e514b
|
Switching to maya for most DT things.
|
2018-04-07 22:13:45 -07:00 |
jMyles
|
11263663f3
|
Special value constants changed to constantSorrow; lengths adjusted. Also, new test for Signature comparison.
|
2018-04-05 10:23:28 -07:00 |
jMyles
|
17bbf816cd
|
Bob no longer tracks a single Alice as an attribute; instead, he tracks an Alice with each Policy.
|
2018-02-28 22:04:37 -08:00 |
jMyles
|
f5e3f978b1
|
Better Keystore instantiation time, and also no need to manually start servers anymore (as they run on the same thread).
|
2018-02-28 17:40:49 -08:00 |
jMyles
|
7e567c24f6
|
Introducing named DBs per Ursula.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
e1b4f242ab
|
Tearing out all lookup_actor logic. Also, as @tuxxy pointed out a while ago, there's really no reason to have Character.hash(); we can just use keccak_digest.
|
2018-02-24 01:53:20 -08:00 |
jMyles
|
760e0a8129
|
Reflectin refractor of umbral.umbral to umbral.pre.
|
2018-02-23 22:02:32 -08:00 |
jMyles
|
bb279fa954
|
Fixture needs to include (or at least, works better if it includes) Alice's public encryption key.
|
2018-02-19 15:20:40 -08:00 |
tuxxy
|
00b812993c
|
Add pytest fixture for sqlalchemy
|
2018-02-13 13:30:58 -07:00 |
jMyles
|
ca945e5ba0
|
New fixture to simulate ciphertext and capsule being givesn to Bob by Alice.
|
2018-02-13 13:29:41 -07:00 |
tuxxy
|
d0bfd4ae0d
|
WIP on rm-crypto: 2b73b14 Merge pull request #11 from jMyles/rm-crypto
|
2018-02-13 13:28:39 -07:00 |
jMyles
|
7de5a7ec26
|
New fixture to simulate ciphertext and capsule being givesn to Bob by Alice.
|
2018-02-13 12:25:46 -08:00 |
jMyles
|
c6d050aca7
|
Making explicit which address and port are for Ursula's DHT interface.
|
2018-02-06 17:16:21 -08:00 |
jMyles
|
a393d42e8e
|
Removing the rest of PolicyManager; changed PolicyOfferResponse to ContractResponse.
|
2017-12-15 21:50:51 -08:00 |
jMyles
|
e486d5a2b1
|
Cleaned up fixtures and reduced their scope to "module."
|
2017-12-14 21:21:09 -08:00 |
jMyles
|
7dec865094
|
Updating some fixture names to remove PolicyGroup.
|
2017-12-14 20:36:52 -08:00 |
jMyles
|
1c677efb6a
|
Moving the rest of the enact logic to Policy.
|
2017-12-14 12:15:36 -08:00 |
jMyles
|
ac10e6a3da
|
Merge commit for various Policy and testing Work after PRs are merged.
|
2017-12-13 10:41:55 -08:00 |
jMyles
|
e891653fde
|
With PolicyGroup logic simplified for Bob, we can reduce the scope of several fixtures.
|
2017-12-13 10:33:01 -08:00 |
jMyles
|
699ec37f03
|
TreasureMap setting fixture implemented in a few tests.
|
2017-12-07 20:41:26 -08:00 |
jMyles
|
fc66f43b3b
|
Pushing TreasureMap setting down into a fixture.
|
2017-12-07 20:41:04 -08:00 |
jMyles
|
7a525b801e
|
Move Alice REST test to proper module.
|
2017-12-04 17:17:28 -08:00 |
jMyles
|
167ee66aa0
|
Changing fixture 'fake_ursulas' to just 'ursulas'.
|
2017-11-21 22:06:52 -08:00 |
jMyles
|
c44a46e416
|
Proper test fixtures. Phew! It was a brain-twister getting this right.
|
2017-11-21 20:19:31 -08:00 |