Skip to content

Commit

Permalink
Merge pull request #122 from unb-mds/task/search-api
Browse files Browse the repository at this point in the history
typo(tests): add pep8
  • Loading branch information
mateusvrs authored Nov 28, 2023
2 parents 0e0361b + 0bebff3 commit 5d5e6d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/api/tests/test_discipline_models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from django.test import TestCase
from api.models import Department, Discipline, Class


class DisciplineModelsTest(TestCase):
def setUp(self):
self.department = Department.objects.create(
Expand Down Expand Up @@ -50,4 +51,4 @@ def test_str_method_of_class(self):
self.assertEqual(str(self._class), self._class._class)

def test_str_method_of_department(self):
self.assertEqual(str(self.department), self.department.code)
self.assertEqual(str(self.department), self.department.code)

0 comments on commit 5d5e6d4

Please sign in to comment.