Commit Graph

3419 Commits (5c063a17b5bc90aabc2c05055b2e5c2ee029cec1)

Author SHA1 Message Date
Kieran R. Prasch 0da9d5cadd Fix filename spelling error in examples 2019-02-15 00:28:53 -07:00
Kieran R. Prasch 03e6f85d62 [HOTFIX] web3.py v5.0.0a5 compadibility with setup.py 2019-02-15 00:28:53 -07:00
Kieran R. Prasch eba0fada20 Understand Character.make_wsgi_app to be an instance method 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 d42c01071c Ursula CLI uses actions module to destroy 2019-02-15 00:28:53 -07:00
Kieran R. Prasch 6f88dee249 Introduce CLI actions module 2019-02-15 00:28:53 -07:00
Kieran R. Prasch 38a61f3bdb Semi-functional alice CLI, needs shared utils. 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 6aee1553dd Removing threadpool for now - it was causing spinning on CI. 2019-02-15 00:28:53 -07:00
jMyles 7e207c0132 Adding pyenv meta to gitignore. 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 9288e618f5 Enrico no longer takes a label. 2019-02-15 00:28:53 -07:00
jMyles 15e84c6956 retrieve() now requires a label. 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 53a40a3e02 More robust downtime imitation. 2019-02-15 00:28:53 -07:00
jMyles 8de5f0e5b0 Continue trying to make arrangements even if first node is down. 2019-02-15 00:28:53 -07:00
jMyles c0897cfd80 Load seednodes on learning loop threadpool. 2019-02-15 00:28:53 -07:00
jMyles 18002844a6 Update get_treasure_map_from_known_ursulas and make it use kwargs. 2019-02-15 00:28:53 -07:00
jMyles 7b58ec3894 Learning now happens in a threadpool. 2019-02-15 00:28:53 -07:00
jMyles a0ef719545 This values() thing has been a nagging bug. 2019-02-15 00:28:53 -07:00
jMyles a2b73a86c8 Adding class name to Character repr. 2019-02-15 00:28:53 -07:00
jMyles 22cc4f4b85 Output process ending message instead of just failing. 2019-02-15 00:28:53 -07:00
jMyles 767918d4f4 Adding timeout option in grant. 2019-02-15 00:28:53 -07:00
jMyles fad0fb2229 NodeIsDownMiddleware. 2019-02-15 00:28:53 -07:00
jMyles 5522c59713 Combining the connectivity exceptions in a single tuple. 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 554a2c10fe Add doc info for derive_policy_pubkey endpoint
Also updates docs for the fix in #762
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 43a87b4e95 Fix NameError in provide_treasure_map 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
jMyles cd56f36749 Default ports. 2019-02-15 00:28:53 -07:00
jMyles 2fff543508 Moving generate and write up to NodeConfiguration. 2019-02-15 00:28:53 -07:00
jMyles 900ba5fd5d Alice init via CLI. 2019-02-15 00:28:53 -07:00
jMyles 5358e5e6eb Adding quiet option for Alice. 2019-02-15 00:28:53 -07:00
jMyles 556db0b7a9 Moved flask logic onto Alice. 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