chore: skip storage tests

This commit is contained in:
Reto Aebersold 2023-12-15 10:50:14 +01:00
parent 423234acce
commit 28542f8540
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,5 @@
import datetime
from unittest import skip
from django.core.files.uploadedfile import SimpleUploadedFile
from django.test import TestCase
@ -11,6 +12,7 @@ from vbv_lernwelt.media_files.models import ContentDocument
TITLE = "Musterlösung Fahrzeug"
@skip("Those tests useful are to manually test the storage layer.")
class TestContentDocumentServing(TestCase):
def setUp(self):
create_default_users()

View File

@ -1,5 +1,5 @@
import datetime
from unittest import skipIf
from unittest import skip, skipIf
from django.conf import settings
from django.core.files.uploadedfile import SimpleUploadedFile
@ -11,6 +11,7 @@ from vbv_lernwelt.media_files.models import ContentDocument
TITLE = "Musterlösung Fahrzeug"
@skip("Those tests useful are to manually test the storage layer.")
class TestContentDocumentStorage(TestCase):
@override_settings(FILE_UPLOAD_STORAGE="s3")
def setUp(self):