Skip to content

Commit

Permalink
minor adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
ArslanArdavic committed Nov 13, 2023
1 parent a597abb commit ee00ece
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions project/backend/database/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Create your tests here.

"""

class BasicUserModelTestCase(TestCase):
def tearDown(self):
User.objects.all().delete()
Expand Down Expand Up @@ -344,7 +344,7 @@ def test_theorem_model(self):
self.assertEqual(theorem.theorem_id, 1)
self.assertEqual(theorem.theorem_title, "Test Theorem")
self.assertEqual(theorem.theorem_content, "This is a test theorem content.")
"""

class ReviewRequestTestCase(TestCase):
def tearDown(self):
Workspace.objects.all().delete()
Expand Down Expand Up @@ -432,7 +432,7 @@ def test_reject(self):
self.request.reject()
req = Request.objects.get(sender=self.sender)
self.assertEqual(req.status, "R", "Reject method didn't work as expected")
"""

class RegisterSerializerTestCase(TestCase):
def setUp(self):
self.data = {
Expand Down Expand Up @@ -549,4 +549,3 @@ def test_reviewer_serializer_fields(self):
)
self.assertEqual(set(serializer.data.keys()), expected_fields)

"""

0 comments on commit ee00ece

Please sign in to comment.