summaryrefslogtreecommitdiff
path: root/testing/tests/blobs/test_fs_backend.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-05-08 14:13:02 +0200
committerKali Kaneko <kali@leap.se>2017-05-09 15:18:48 +0200
commit09c9683cd6888fe7e54cfdd71ada9ace5fdf4fcc (patch)
tree89aca674958b102e7c2b5b5c5a54bc708a4d4725 /testing/tests/blobs/test_fs_backend.py
parent3ff522b687dcccd1ada5da5aba526057befec007 (diff)
[refactor] move interfaces out
- rename add_tag method - reorder blob interface methods for clarity - use mkdir_p from leap.common
Diffstat (limited to 'testing/tests/blobs/test_fs_backend.py')
-rw-r--r--testing/tests/blobs/test_fs_backend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/tests/blobs/test_fs_backend.py b/testing/tests/blobs/test_fs_backend.py
index 83a5708e..27d4fc61 100644
--- a/testing/tests/blobs/test_fs_backend.py
+++ b/testing/tests/blobs/test_fs_backend.py
@@ -39,7 +39,7 @@ class FilesystemBackendTestCase(unittest.TestCase):
expected_method = Mock()
backend = _blobs.FilesystemBlobsBackend()
request = Mock(responseHeaders=Mock(setRawHeaders=expected_method))
- backend.tag_header('user', 'blob_id', request)
+ backend.add_tag_header('user', 'blob_id', request)
expected_method.assert_called_once_with('Tag', [expected_tag])