Commit Graph

2104 Commits (198071e21eb375dc0225798e860b6d8c8bad6603)

Author SHA1 Message Date
Kieran R. Prasch 198071e21e Remane nucypher CLI module; Additional CLI testing stubs for debugging ease. 2018-09-10 16:13:06 +02:00
Kieran R. Prasch 1288fc19f9 Stub CLI tests: One test module per command. 2018-09-10 16:13:06 +02:00
Kieran R. Prasch dfebbe55ff Add CLI test modules 2018-09-10 16:13:06 +02:00
Kieran R. Prasch 2510bcdefd Include cli test entrypoints in CircleCI config 2018-09-10 16:13:06 +02:00
Kieran R. Prasch e88eb9a138 Add Initial nucypher-cli (click) tests module 2018-09-10 16:13:06 +02:00
jMyles f80b0ca9e4 Fixes and smoothing the recent cherry-pick; making a smooth surface for Kokonusswasser. 2018-09-10 16:12:43 +02:00
jMyles 0b070ec38a Lots of test touch-ups. 2018-09-06 21:01:44 +02:00
jMyles 8ff4d9aeba For tests, getting mock ursula by node instance most of the time. 2018-09-06 21:01:44 +02:00
jMyles 0fcc3e2357 Settling functions between ProxyRESTServer and ProxyRESTRoutes. 2018-09-06 21:01:44 +02:00
jMyles 60e448f49b Verifying that identity evidence matches. 2018-09-06 21:01:44 +02:00
jMyles 1fbb577194 Using single rest_url instead of port and host. 2018-09-06 21:01:44 +02:00
jMyles 8f1497ba53 Working cert into material generation. 2018-09-06 21:01:44 +02:00
jMyles 1f4b96f3ef rest_app is public now; reworking public_material back to public_keys. 2018-09-06 21:01:44 +02:00
jMyles c412460b17 Including certificate in node serialization. 2018-09-06 21:01:44 +02:00
jMyles 5b26e884a0 Accomodate public TLSHostingPower / ProxyRESTServer. 2018-09-06 21:01:44 +02:00
jMyles 65fd76f50e Easier rest_url access. 2018-09-06 21:01:43 +02:00
jMyles 1306d23bb7 Graceful crashing when a node has trouble off the main thread. 2018-09-06 21:01:43 +02:00
jMyles 26268a1ba0 Tests need a way to get a mock ursula by passing in a node instance, not merely a port. 2018-09-06 21:01:43 +02:00
jMyles 7b298d5828 New arguments passed into ProxyRESTRoutes in lieu of entire Ursula. 2018-09-06 21:01:43 +02:00
jMyles d2250b2a84 Shifting things around a bit, introducing ProxyRESTRoutes, and starting to implmenet rest_information(). 2018-09-06 21:01:43 +02:00
jMyles a6baa8c2c7 Cleaning up log message. 2018-09-06 21:01:43 +02:00
jMyles 850c559d4c Moving away from rest_interface in favor of rest_information() 2018-09-06 21:01:43 +02:00
jMyles f39321c025 Reversed the polarity of TLSHostingPower <=-=> ProxyRESTServer. 2018-09-06 21:01:43 +02:00
jMyles 79c062599b Per our discussion last night, moving TLSHostingPower to network.server and beginning the 'Kirby' pattern. 2018-09-06 21:01:43 +02:00
jMyles 7bf42d8990 Uncorked stake (ie, Ursula doesn't stake really for tests) and removed skips. 2018-09-06 21:01:43 +02:00
jMyles 07fe4f9b30 Simpler InterfaceInfo. Loopback literals are now localhost. 2018-09-06 21:01:42 +02:00
jMyles 6567a7b7bf certificate is now public and can be passed in. 2018-09-06 21:01:01 +02:00
jMyles 219dee25dc Simplifies Ursula interface info with metadata (after all, it's just her bytes). 2018-09-06 20:59:47 +02:00
jMyles aa0bd30569 Test showing that node can be verified with certificate. 2018-09-06 20:59:07 +02:00
jMyles ff5a3faa3d Passing and using host in HostingKeypair. 2018-09-06 20:58:25 +02:00
jMyles f5a0b2cd95 These tests are a little funny for the moment. Need to skip them until we get stake() working properly again. 2018-09-06 20:56:17 +02:00
jMyles 6cc7194f95 Undoing some of @kprasch's partial pasting practice. 2018-09-06 20:56:16 +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
tuxxy c1c2d10be9 Move some blockchain utils to sandbox.py 2018-09-06 04:46:54 -06:00
tuxxy feeb6ce928 Move network.py Mock classes to sandbox.py 2018-09-06 04:32:16 -06:00
tuxxy 72f1163d26 Create sandbox.py file for non-production utilities 2018-09-06 04:24:39 -06:00
Tux fb53da2064
Merge pull request #371 from szotov/new-management
Improvements for the dispatcher
2018-09-01 16:40:25 +02:00
szotov 7dc40d83b1 Changed gas limit for tests 2018-09-01 17:08:23 +03:00
szotov 953054af9a Added rounding of time for the first period in some tests (issue #385) 2018-09-01 16:23:42 +03:00
szotov 204d3674af Added checking of secret in the upgrading method in the user escrow contract 2018-09-01 16:13:42 +03:00
szotov 86e5df2585 Renamed `downtime` to `pastDowntime` in the MinersEscrow contract 2018-09-01 15:59:00 +03:00
szotov c75cd0e330 Fixed upgrade contracts test in test_integration.py 2018-09-01 15:46:41 +03:00
szotov e1b4c82723 Added checking of secret in the upgrading method in the dispatcher contract 2018-09-01 15:46:40 +03:00
szotov 9db9b6c4ee Improved comments on tests, added comments to the mining coefficients in constants.py 2018-09-01 15:11:59 +03:00
szotov 40a77d0414 Removed government contract 2018-09-01 14:50:41 +03:00
Arjun Hassard b42d9e7f36
Merge pull request #416 from arjunhassard/master
#275 - NC Beachhead: a starter guide to access management with NuCypher
2018-09-01 12:24:35 +02:00
Harry Arjun Hassard 4d1cabe652 NC Beachhead 2018-09-01 01:05:51 +02:00
Kieran R. Prasch 172fb82370 CircleCI: Update contract integration test name 2018-08-31 15:41:58 -07:00
Kieran R. Prasch 3d653599b5 Update existing UserEscrow API to follow convention (using agency) 2018-08-31 15:17:12 -07:00