Commit Graph

44 Commits (847a0e0e99266788f550fef59fb66011b56121b5)

Author SHA1 Message Date
jMyles ac10e6a3da Merge commit for various Policy and testing Work after PRs are merged. 2017-12-13 10:41:55 -08:00
jMyles 21c18ea5f8 Tests reflect publish_treasure_map living on PolicyGroup. 2017-12-13 10:33:34 -08:00
jMyles 699ec37f03 TreasureMap setting fixture implemented in a few tests. 2017-12-07 20:41:26 -08:00
jMyles fb5731fff4 Bob has a lot of logic surrounding his play with Frags - moving such tests to their own module. 2017-12-07 00:36:43 -08:00
jMyles 674197d30b Test for complete discovery and reencryption via REST. 2017-12-05 12:54:44 -08:00
jMyles 97a97c6b5c Bob Issues WorkOrders with pFrags, gets back cFrags. 2017-12-04 17:18:47 -08:00
jMyles a5e85576a7 Using PolicyGroup's encrypted_key instead of fake pfrags. 2017-12-04 17:17:28 -08:00
jMyles d90a2649e9 Can't represent pfrag as bytes; this is a blocker for now. See #137. 2017-12-04 17:17:28 -08:00
jMyles c4cbff3359 Tests that show Bob that Bob is able to issue a WorkOrder via REST. 2017-12-04 17:17:28 -08:00
jMyles 429743f1f4 Test that Bob can properly create a work order and send it over to Ursula. 2017-12-04 17:17:28 -08:00
jMyles 7a525b801e Move Alice REST test to proper module. 2017-12-04 17:17:28 -08:00
jMyles b1f9b72886 Session-wide fixture injection means we don't need to grab alice and bob from the PolicyGroup. 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 ceae904822 Tests with Bob getting the signature from Alice properly. 2017-11-21 22:03:31 -08:00
jMyles 0084b14a3d OK, fixtures are implemented in the tests that need them. 2017-11-21 20:22:16 -08:00
jMyles c44a46e416 Proper test fixtures. Phew! It was a brain-twister getting this right. 2017-11-21 20:19:31 -08:00
jMyles ae49b28249 Moving PolicyGroup creation to test fixture format. 2017-11-21 16:27:21 -08:00
jMyles 4ff94f385b Ursula can't just willy-nilly spin up an in-memory db anymore. 2017-11-21 12:04:33 -08:00
jMyles 8bd1e616d1 Showing that policy was transmitted via REST made it to Ursula's KeyStore. 2017-11-20 19:50:51 -08:00
jMyles 014d63805a Don't need this file for the moment; covered in other tests. 2017-11-20 19:24:25 -08:00
jMyles ac33d5eb4e Making sure that uri is unique for each execution. 2017-11-20 19:24:03 -08:00
jMyles 269063f1b1 Moving test Client logic over to test_utilities 2017-11-18 13:33:31 -08:00
jMyles 763bece3da Tests for Bob's invovlement in Policy. 2017-11-18 13:33:31 -08:00
jMyles 370757f8ee Testing set_kfrag - both tests fail for the moment. 2017-11-18 13:33:31 -08:00
jMyles 9a836e467e Beginnings of a test for Ursula to receive a kFrag. 2017-11-18 13:29:55 -08:00
jMyles 3409846983 Blanking this file; now that we do prop-stop we don't need this. 2017-11-18 13:29:55 -08:00
jMyles ad0eb40a4d PublicKey used for metadata instead of int literals throughout tests. Also some PEP8 cleanups and removal of type checks per #105. 2017-11-18 13:19:07 -08:00
jMyles ec8c225f7d Moved BytestringSplitter remainder logic to __call__; implemented throughout. 2017-11-11 18:00:32 -08:00
jMyles d23f10bfe7 Using HRAC and dht_value_splitter in tests. 2017-11-11 17:45:33 -08:00
jMyles e0f9995e4c Casting Signature to bytes for msgpack. Better to concat it in the future - see #114. 2017-11-10 16:29:28 -08:00
jMyles 49f99fc640 Added Bob's public key to secret part of TreasureMap DHT key. Also lots of sanding / code simplification. 2017-11-10 10:47:07 -08:00
jMyles b66eccb251 Working stop-propagation for both Ursula interfaces and TreasureMaps. 2017-11-10 02:04:01 -08:00
jMyles f88c182bd9 Test showing stop-propagation for illegal TreasureMap ID - see #109. 2017-11-09 16:23:38 -08:00
jMyles b312449895 Tests rewritten in narrative order with docstrings. 2017-11-09 16:23:38 -08:00
jMyles 6a5d0da4bf Test organization: moved utility functions to their own module. 2017-11-09 16:23:38 -08:00
jMyles 19aab328d0 Bob can now follow treasure map and get Ursula instances. 2017-11-07 14:25:03 -08:00
jMyles f704f93cbe KeyPairBasedPower to reuse logic for powers based on keypairs. 2017-11-07 12:51:30 -08:00
jMyles 10f3fc8e6c TreasureMap now contains real Ursula information. Fixes #59. Fixes #64. 2017-11-06 20:42:21 -08:00
jMyles 4c8d925b8a TreasureMap legitimacy test. 2017-11-06 18:11:03 -08:00
jMyles 2581c579e3 Fixes #98. 2017-11-06 13:44:59 -08:00
jMyles 93a70179a8 Test for #98 2017-11-06 13:35:54 -08:00
jMyles c85acc3675 A test to show that Ursula now refuses to propagate illegal keys. 2017-11-05 19:30:03 -08:00
jMyles 745e5a43b4 Beginning of verifying Ursula's interface. 2017-11-05 19:30:03 -08:00
jMyles 4dc146b2d6 Rudimentary server and client w/ cert generation and TLS. 2017-11-05 19:30:03 -08:00