diff options
Diffstat (limited to 'tests/blobs')
-rw-r--r-- | tests/blobs/test_fs_backend.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/blobs/test_fs_backend.py b/tests/blobs/test_fs_backend.py index 5df658ff..58d8690d 100644 --- a/tests/blobs/test_fs_backend.py +++ b/tests/blobs/test_fs_backend.py @@ -66,7 +66,8 @@ class FilesystemBackendTestCase(unittest.TestCase): file_mock.return_value = render_mock backend = _blobs.FilesystemBlobsBackend(blobs_path=self.tempdir) request = DummyRequest(['']) - backend.read_blob('user', 'blob_id', request) + resource = backend.read_blob('user', 'blob_id') + resource.render_GET(request) backend._get_path.assert_called_once_with('user', 'blob_id', '') ctype = 'application/octet-stream' |