chore: skip storage tests
This commit is contained in:
parent
423234acce
commit
28542f8540
|
|
@ -1,4 +1,5 @@
|
||||||
import datetime
|
import datetime
|
||||||
|
from unittest import skip
|
||||||
|
|
||||||
from django.core.files.uploadedfile import SimpleUploadedFile
|
from django.core.files.uploadedfile import SimpleUploadedFile
|
||||||
from django.test import TestCase
|
from django.test import TestCase
|
||||||
|
|
@ -11,6 +12,7 @@ from vbv_lernwelt.media_files.models import ContentDocument
|
||||||
TITLE = "Musterlösung Fahrzeug"
|
TITLE = "Musterlösung Fahrzeug"
|
||||||
|
|
||||||
|
|
||||||
|
@skip("Those tests useful are to manually test the storage layer.")
|
||||||
class TestContentDocumentServing(TestCase):
|
class TestContentDocumentServing(TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
create_default_users()
|
create_default_users()
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import datetime
|
import datetime
|
||||||
from unittest import skipIf
|
from unittest import skip, skipIf
|
||||||
|
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.core.files.uploadedfile import SimpleUploadedFile
|
from django.core.files.uploadedfile import SimpleUploadedFile
|
||||||
|
|
@ -11,6 +11,7 @@ from vbv_lernwelt.media_files.models import ContentDocument
|
||||||
TITLE = "Musterlösung Fahrzeug"
|
TITLE = "Musterlösung Fahrzeug"
|
||||||
|
|
||||||
|
|
||||||
|
@skip("Those tests useful are to manually test the storage layer.")
|
||||||
class TestContentDocumentStorage(TestCase):
|
class TestContentDocumentStorage(TestCase):
|
||||||
@override_settings(FILE_UPLOAD_STORAGE="s3")
|
@override_settings(FILE_UPLOAD_STORAGE="s3")
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue