From 47c349ca374356163d15e59deb917a4d22f88206 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Mon, 3 Nov 2014 13:33:06 -0500 Subject: [PATCH] 3706: Add back "collections.get => 404" to "fallback to Keep" test. --- sdk/python/tests/test_collections.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/python/tests/test_collections.py b/sdk/python/tests/test_collections.py index c0ef118fdc..34fd6032d0 100644 --- a/sdk/python/tests/test_collections.py +++ b/sdk/python/tests/test_collections.py @@ -733,7 +733,8 @@ class CollectionReaderTestCase(unittest.TestCase, CollectionTestMixin): # crunch-job needs this to read manifests that have only ever # been written to Keep. client = self.api_client_mock(200) - with tutil.mock_responses(self.DEFAULT_MANIFEST, 404, 200): + self.mock_get_collection(client, 404, None) + with tutil.mock_responses(self.DEFAULT_MANIFEST, 200): reader = arvados.CollectionReader(self.DEFAULT_DATA_HASH, api_client=client) self.assertEqual(self.DEFAULT_MANIFEST, reader.manifest_text()) -- 2.39.5