From bd4c1ab87ae83f88cdab1ababd17c41590c11807 Mon Sep 17 00:00:00 2001 From: LuizaMaluf Date: Tue, 31 Oct 2023 21:44:31 -0300 Subject: [PATCH] test: initial tests development --- apps/contests/tests_contests.py | 25 +++++++++++++++++++++++++ apps/problems/tests_problems.py | 17 +++++++++++++++++ apps/users/tests_users.py | 13 +++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 apps/contests/tests_contests.py create mode 100644 apps/problems/tests_problems.py create mode 100644 apps/users/tests_users.py diff --git a/apps/contests/tests_contests.py b/apps/contests/tests_contests.py new file mode 100644 index 0000000..44072b8 --- /dev/null +++ b/apps/contests/tests_contests.py @@ -0,0 +1,25 @@ +from django.test import TestCase + + +class IndexViewTestCase(TestCase): + pass + + +class DetailViewTestCase(TestCase): + pass + + +class ContestTestCase(TestCase): + pass + + +class ContestStatusTestCase(TestCase): + pass + + +class ContestModelFormTestCase(TestCase): + pass + + +class ContestAdminTestCase(TestCase): + pass diff --git a/apps/problems/tests_problems.py b/apps/problems/tests_problems.py new file mode 100644 index 0000000..773c0cc --- /dev/null +++ b/apps/problems/tests_problems.py @@ -0,0 +1,17 @@ +from django.test import TestCase + + +class DetailViewTestCase(TestCase): + pass + + +class ProblemTestCase(TestCase): + pass + + +class ProblemModelFormTestCase(TestCase): + pass + + +class ProblemAdminTestCase(TestCase): + pass diff --git a/apps/users/tests_users.py b/apps/users/tests_users.py new file mode 100644 index 0000000..d76f9c7 --- /dev/null +++ b/apps/users/tests_users.py @@ -0,0 +1,13 @@ +from django.test import TestCase + + +class UserTestCase(TestCase): + pass + + +class UserManagerTastCase(TestCase): + pass + + +class UserAdminTestCase(TestCase): + pass