add more tests (#268)

* add more tests as STUBS
This commit is contained in:
Markos Gogoulos
2021-08-17 00:01:52 +03:00
committed by GitHub
parent 755df50c41
commit fb00f94bfa
29 changed files with 922 additions and 663 deletions

View File

@@ -0,0 +1,10 @@
from django.test import TestCase
class TestX(TestCase):
fixtures = ["fixtures/categories.json", "fixtures/encoding_profiles.json"]
def test_X(self):
# check only managers/editors/admins have access here!!!
pass

View File

@@ -0,0 +1,10 @@
from django.test import TestCase
class TestX(TestCase):
fixtures = ["fixtures/categories.json", "fixtures/encoding_profiles.json"]
def test_X(self):
# test a number of listings works (index, featured, user etc)
pass

View File

@@ -0,0 +1,9 @@
from django.test import TestCase
class TestX(TestCase):
fixtures = ["fixtures/categories.json", "fixtures/encoding_profiles.json"]
def test_X(self):
# add new file, check it is added and more (eg for videos it is transcoded etc)
pass

View File

@@ -0,0 +1,10 @@
from django.test import TestCase
class TestX(TestCase):
fixtures = ["fixtures/categories.json", "fixtures/encoding_profiles.json"]
def test_X(self):
# add a few files, check search different cases that work
pass