diff options
author | drebs <drebs@leap.se> | 2017-03-20 12:26:28 +0100 |
---|---|---|
committer | drebs <drebs@leap.se> | 2017-04-04 18:27:36 +0200 |
commit | 6f6382bdfa9aac9181b45789e8fa4683111d180c (patch) | |
tree | e902910bd13baf47a9ccca2d3b39af46d631596e /testing/tests/blobs | |
parent | 123880b6e524019d25404a85f04a369705a318b8 (diff) |
[test] patch pinned client in blobs test
Diffstat (limited to 'testing/tests/blobs')
-rw-r--r-- | testing/tests/blobs/test_blobs.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/tests/blobs/test_blobs.py b/testing/tests/blobs/test_blobs.py index b78f6c0f..a36bad1e 100644 --- a/testing/tests/blobs/test_blobs.py +++ b/testing/tests/blobs/test_blobs.py @@ -60,8 +60,9 @@ class BlobTestCase(unittest.TestCase): decrypted = yield decryptor.decrypt() assert decrypted.getvalue() == 'up and up' - manager = _blobs.BlobManager('', '', self.secret, self.secret, 'user') + manager = _blobs.BlobManager( + '', 'http://127.0.0.1/', self.secret, self.secret, 'user') doc_id, rev = self.doc_info.doc_id, self.doc_info.rev fd = BytesIO('up and up') - _blobs.treq.put = _check_result + manager._client.put = _check_result return manager._encrypt_and_upload('blob_id', doc_id, rev, fd) |