Commit Graph

4067 Commits (8bc89805ffde7eb3844f182e2a8a06c11944685f)

Author SHA1 Message Date
szotov 8bc89805ff Fix agents tests 2019-07-04 11:22:38 +02:00
szotov f850a42f58 Added worker role, excluded minting and activity confirmation from lock method 2019-07-04 11:22:38 +02:00
David Núñez a2cdafd500
Merge pull request #926 from nucypher/epic-schabowski
[EPIC] Schabowski: Fixes for bugs revealed by Coinlist, EthCapeTown, and EthNY hackathons
2019-07-04 11:15:57 +02:00
David Núñez a106af2e1c
Apply suggestions from code review 2019-07-04 11:15:20 +02:00
jMyles 189a87399c Resetting side channel between two of the tests. 2019-07-03 16:55:12 -07:00
jMyles a57affca11 Updating test showing that #920 is fixed. 2019-07-03 13:59:52 -07:00
jMyles afe26661d5 Adding message number to side channel flow. 2019-07-03 13:51:58 -07:00
jMyles c613bcd077 A few new places where capsule_side_channel needs to be called. 2019-06-28 21:11:51 -07:00
jMyles 523fde54b4 Our Ursula from config is also supposed to be interactive per the test spec. 2019-06-28 20:11:55 -07:00
jMyles 54249ebb5e Adding --interactive for the moment in order to display command prompt, on which test assertion relies. 2019-06-28 20:11:55 -07:00
jMyles 2b6f6c653b Only use SimpleObserver if the user has expressly specified a log level. A good-enough compromise for now I guess. 2019-06-28 20:11:55 -07:00
jMyles 64df43169f Adding a block to catch NotFound, in case Ursula 404's. 2019-06-28 20:11:55 -07:00
jMyles 06a75d1f15 Cleaning up retrieve() by consolidation a branch. 2019-06-28 20:11:55 -07:00
jMyles a88d8c4159 Skipping test until #920 is closed. 2019-06-28 20:11:55 -07:00
jMyles e182d4677f Assigning each instance's IP address as its rest port in docker compose file. 2019-06-28 20:10:59 -07:00
jMyles 820ae2c2c9 Make UrsulaCommandProtocol opt-in. Closes #1087. 2019-06-28 20:10:59 -07:00
jMyles 8b14f5d974 A different way to assert work_order similarity. 2019-06-28 20:10:59 -07:00
jMyles 3f59475a36 Logging phantom node situation, though we do need to full-on bucket these per #567. 2019-06-28 20:10:59 -07:00
jMyles b92c41d928 Bob sets correctness keys earlier. 2019-06-28 20:10:59 -07:00
jMyles 96276eef89 Logging statement in the event that domains don't match (although it turns out that's *not* the problem in #941. 2019-06-28 20:10:59 -07:00
jMyles 31a70f1b39 Adding more narrative to the test to show what's really happening when Bob gathers CFrags. 2019-06-28 20:10:59 -07:00
jMyles 7790b106d9 Work Orders is the dict_values now. 2019-06-28 20:10:59 -07:00
jMyles 0888fc5946 Calling the capsule side channel in most places where it was previously unpacked. 2019-06-28 20:10:59 -07:00
jMyles ac12c461e6 Setting log level as debug for Finnegan's. 2019-06-28 20:10:21 -07:00
jMyles ca68ad6e97 Our capsule side channel now tracks past messages. 2019-06-28 20:10:21 -07:00
jMyles 37c9b75ca1 Adding --log-level as a CLI option. See #1018. 2019-06-28 20:10:21 -07:00
jMyles aa1392a55e Always set the correctness keys; new retrieval or not. 2019-06-28 20:10:21 -07:00
jMyles 18fe0d6d16 With caching in place, we can again apply the logic of whether to save the WorkOrder. 2019-06-28 20:10:21 -07:00
jMyles eab64bde13 Test showing 892. 2019-06-28 20:10:21 -07:00
jMyles 3e94e91be2 Test showing Bob's second retrieval. 2019-06-28 20:10:21 -07:00
jMyles e393509b76 Instead of raising here, give 'em the ole' 404. 2019-06-28 20:10:21 -07:00
jMyles ab6dfa7e1d Now, we'll work in the matter of whether to retrieve anew. 2019-06-28 20:10:21 -07:00
jMyles a3df1d03d5 ...and we'll pass the cache argument down from retrieve. 2019-06-28 20:10:21 -07:00
jMyles c06cf4ba3b OK, start with a cache argument in generate_work_orders. 2019-06-28 20:10:21 -07:00
jMyles 4c0d51fd7f First step: let's stop caring for the moment whether we've retrieved against this Capsule before. 2019-06-28 20:10:21 -07:00
jMyles 694ba1bea2 Test showing 920. 2019-06-28 20:10:21 -07:00
K Prasch 72977f0a60
Merge pull request #1094 from vepkenez/optimize-circle
Speed up CI builds
2019-06-28 10:28:54 -07:00
David Núñez 18daf4abb3
Merge pull request #1106 from fjarri/fix-pytest-warnings
Fix `py.test` warnings
2019-06-28 10:39:41 +02:00
Damon C d298255da6 re-use docker build step 2019-06-27 17:46:17 -07:00
David Núñez 82b80e71e1 pytest.ini: Add --strict-markers, add common codecov arguments
* Avoids that unregistered marks just make the test to pass trivially (see https://docs.pytest.org/en/latest/mark.html#raising-errors-on-unknown-marks)
* Adds codecov arguments to improve readability of circleci/config.yml
2019-06-27 14:48:12 -07:00
Bogdan Opanchuk f1db1622cf Temporarily skip test_deploy_multiple()
Fixing `usefixtures` mark makes it fail due to issue #1102
2019-06-27 14:45:34 -07:00
Damon C a64822422e use prepare environment 2019-06-27 12:47:12 -07:00
Damon C c70fbc8a37 switch validate reqs to python36 base 2019-06-27 12:47:12 -07:00
Bogdan Opanchuk 39ecedd724 Rename TesterBlockchain on import in tests to prevent py.test from trying to pick it up 2019-06-26 22:48:33 -07:00
Bogdan Opanchuk d83697648a Fix typo: replace `usesfixtures` with `usefixtures` 2019-06-26 22:41:54 -07:00
Bogdan Opanchuk cf2429b902 Define `slow` marker in pytest.ini to avoid warnings 2019-06-26 22:36:18 -07:00
David Núñez 740ed7900f
Merge pull request #821 from KPrasch/ipc
IPC-RPC Character Control
2019-06-26 18:07:22 +02:00
Kieran Prasch 28b0c39a5e
Respond to RFCs in PR #821 2019-06-26 08:50:54 -07:00
Kieran Prasch 6ec361db32
Cleanup Imports, use the latest test web controller fixtures for policy and decrypt endpoints. 2019-06-26 08:50:54 -07:00
Kieran Prasch 0076e1728a
Integrate revocation control works; handle duration in response assembly 2019-06-26 08:50:54 -07:00