Skip to content

Commit

Permalink
typo(tests): add pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusvrs committed Nov 28, 2023
1 parent 4aa4836 commit 0bebff3
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 0bebff3

Please sign in to comment.