Replace storage backend 'pillar' with 'local'

The backend 'pillar' is obsolete; 'local' is the modernity and uses our
nice storage API.
This commit is contained in:
2018-01-26 14:13:03 +01:00
parent 75e2402420
commit 2e2314c16b
4 changed files with 5 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ EXAMPLE_FILE = {
'user': ObjectId('56264fc4fa3a250344bd10c5'),
'content_type': 'image/png',
'file_path': 'c2a5c897769ce1ef0eb10f8fa1c472bcb8e2d5a4.png',
'backend': 'pillar',
'backend': 'local',
'link': 'http://localhost:8002/file',
}
@@ -58,7 +58,7 @@ class FileLinkCeleryTasksTest(AbstractPillarTest):
'link_expires': now + datetime.timedelta(hours=1, minutes=57)})
# Not same backend → ignore
fid4, file_4 = self.ensure_file_exists({
'backend': 'pillar',
'backend': 'local',
'link_expires': now + datetime.timedelta(hours=1, minutes=58)})
# Same as fid3 → refresh
fid5, _ = self.ensure_file_exists({