Kieran R. Prasch
0da9d5cadd
Fix filename spelling error in examples
2019-02-15 00:28:53 -07:00
Kieran R. Prasch
bf2a5669d3
Test Alice CLI module
2019-02-15 00:28:53 -07:00
Kieran R. Prasch
86f9720461
Organize CLI Tests by Character
2019-02-15 00:28:53 -07:00
jMyles
abf00edb47
Catching up Character tests to label move.
2019-02-15 00:28:53 -07:00
jMyles
ffd3680d6a
Shifts in tests to account for movement of label from Enrico to retrieve.
2019-02-15 00:28:53 -07:00
jMyles
b4bc2ce090
join_policy() can now be made thread-safe by passing block=True
2019-02-15 00:28:53 -07:00
jMyles
7a11f41132
Certs are all busted now too in _MiddlewareClientWithConnectionProblems.
2019-02-15 00:28:53 -07:00
jMyles
4251a94867
Two tests showing errors that myself, @mswilkison, and @derekpierre have run into this week.
2019-02-15 00:28:53 -07:00
jMyles
9a11a30be5
Remove Sentry observer in tests.
2019-02-15 00:28:53 -07:00
jMyles
fd435c1a32
Single entry into log setup.
2019-02-15 00:28:53 -07:00
jMyles
3204427d4e
Remaining formatting, reprs, imports, and cleanups from my work following @tuxxy's rebase.
2019-02-15 00:28:53 -07:00
tuxxy
26b1951488
Move test_character_control.py to tests.characters
2019-02-15 00:28:53 -07:00
tuxxy
d0a0de822e
Add derive_policy_pubkey route for Alice's character control
2019-02-15 00:28:53 -07:00
tuxxy
e86d496762
Fix lifecycle test
...
David told me that this test would fail because it Bob didn't provide
his signing key. I somehow forgot that while making these changes and
spent hours trying to figure out why the map_id was wrong. I even
commented out bob's signing key knowing I would have to uncomment it
later. I'm done for today.
Import Alice in cli.alice
Fix arg name
2019-02-15 00:28:53 -07:00
tuxxy
ac9677dad9
Create Enrico.from_alice method and add enrico_control_from_alice fixture
2019-02-15 00:28:53 -07:00
jMyles
ff06ceb998
Moving Enrico control onto Enrico.
2019-02-15 00:28:53 -07:00
jMyles
0866abaaac
Moving Bob controller right on to Bob.
2019-02-15 00:28:53 -07:00
jMyles
188c0773b4
Enrico is now a lawful Character. Fixes #241 .
2019-02-15 00:28:53 -07:00
tuxxy
55dec8ff25
Get tests running again
2019-02-15 00:28:53 -07:00
tuxxy
b4b179aebb
Alice character_control returns more policy metadata and lifecycle tests reflect it
2019-02-15 00:28:53 -07:00
tuxxy
3c64c7d9ff
Add non-functional character control lifecycle test
2019-02-15 00:28:53 -07:00
jMyles
83bbf5b03b
Tests and fixtures for Alice control via config.
2019-02-15 00:28:53 -07:00
tuxxy
37d4e1799f
Add first draft of alice CLI for character control
2019-02-15 00:28:53 -07:00
Kieran R. Prasch
ad5da13cd9
First draft of Moe provisioning with ansible
2019-02-14 11:32:34 -07:00
Kieran R. Prasch
162af4b51b
CLI + Learner Integration tests for Ursula and Moe
2019-02-13 13:09:53 -07:00
Kieran Prasch
329114db29
Update and test Moe.
2019-02-12 15:19:42 -08:00
tuxxy
707116470c
Change character control namespaces
...
All character files are moved under the nucypher.network.control
namespace under their respective names (alice, bob, enrico).
2019-02-12 13:49:02 -07:00
tuxxy
6dd77e0e2e
Standardize JSON responses in result key
2019-02-12 13:49:02 -07:00
tuxxy
01a6493ef7
Add enrico_control fixture and test_enrico_character_control_encrypt_message
2019-02-12 13:49:02 -07:00
tuxxy
2a6d445b9f
Improve JSON decode error capture and add to tests
2019-02-12 13:49:02 -07:00
tuxxy
131fe17017
Standardize API endpoints to use JSON
2019-02-12 13:49:02 -07:00
tuxxy
35e2942db0
Have make_alice_control and make_bob_control take a teacher node to start the learning loop
2019-02-12 13:49:02 -07:00
tuxxy
282441557b
Fill out make_bob_control and build passing tests
2019-02-12 13:49:02 -07:00
tuxxy
e9f9b5c227
Have federated_bob learn in bob_control fixture
2019-02-12 13:49:02 -07:00
tuxxy
7882ed6114
Create bob_control fixture
2019-02-12 13:49:02 -07:00
tuxxy
71d1d9f709
Finalize test_alice_character_control_grant
2019-02-12 13:49:02 -07:00
tuxxy
924d7388a9
Raise TypeError when TreasureMap isn't decrypted and add test to demonstrate
2019-02-12 13:49:02 -07:00
tuxxy
a56baee69c
Add problematic test_alice_character_control_grant
2019-02-12 13:49:02 -07:00
tuxxy
79661e58b2
Add failing test for TreasureMap serialization
2019-02-12 13:49:02 -07:00
tuxxy
e671283d27
Add minimal passing test for alice_control.create_policy
2019-02-12 13:49:02 -07:00
tuxxy
8c5bb1b1eb
Fill out alice_control.create_policy w/ TODOs
2019-02-12 13:49:02 -07:00
tuxxy
07762a420a
Add alice_control fixture
2019-02-12 13:49:02 -07:00
K Prasch
29d81fc851
Merge pull request #740 from KPrasch/update-solidity
...
Integrate py-solc, v0.5.0+ contract updates
2019-02-12 12:42:40 -07:00
Kieran R. Prasch
90764287fe
Update cli.config usage within the nucypher codebase.
2019-02-12 09:19:11 -07:00
szotov
d8e637c7db
Fix escrow agent test
2019-02-12 09:07:01 -07:00
szotov
819f0951e4
solidity contracts 0.4.25 -> 0.5.3, updates openzeppelin contracts
2019-02-09 16:58:09 +03:00
jMyles
7faa00d6e1
Pulling certs out of the mock test flow more completely so that the sanity check can be more robust.
2019-02-08 10:06:23 -07:00
jMyles
b0b0645e4d
We don't pass certificate_filepath anymore.
2019-02-08 10:06:23 -07:00
jMyles
52bf0acf52
Removing second addition of observer. Fixes #728 .
2019-02-08 10:06:23 -07:00
jMyles
0578b8023c
Mocking Response with namedtuple.
2019-02-02 21:02:34 -05:00