summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-08-10 19:10:31 -0300
committerKali Kaneko <kali@leap.se>2017-08-11 18:52:10 -0400
commitf94519c0c9fbbf50b272e62b5e8d0998d25275fc (patch)
tree6eea508cdf175eac775a9d8cebbc04cca2399cdf /testing
parent9703a03cff56f7ea0e97f6275637d137bbcc2544 (diff)
[refactor] make blobs client unaware of 'default'
This value was hardcoded on client, but it's assumed to be default by the server and there is no need for it to be hardcoded. -- Resolves: #8882
Diffstat (limited to 'testing')
-rw-r--r--testing/tests/blobs/test_blob_manager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/blobs/test_blob_manager.py b/testing/tests/blobs/test_blob_manager.py
index 3f0bf8c4..087c17e6 100644
--- a/testing/tests/blobs/test_blob_manager.py
+++ b/testing/tests/blobs/test_blob_manager.py
@@ -50,7 +50,7 @@ class BlobManagerTestCase(unittest.TestCase):
bad_blob_id = 'inexsistent_id'
result = yield self.manager.get(bad_blob_id)
self.assertIsNone(result)
- args = bad_blob_id, 'default'
+ args = bad_blob_id, ''
self.manager._download_and_decrypt.assert_called_once_with(*args)
@defer.inlineCallbacks
@@ -143,5 +143,5 @@ class BlobManagerTestCase(unittest.TestCase):
yield self.manager.delete(blob_id)
local_list = yield self.manager.local_list()
self.assertEquals(0, len(local_list))
- params = {'namespace': 'default'}
+ params = {'namespace': ''}
self.manager._delete_from_remote.assert_called_with(blob_id, **params)