Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AaDalal committed Apr 10, 2024
1 parent 91e4187 commit 170c6c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/tests/degree/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
SatisfactionStatus,
)
from degree.serializers import SimpleCourseSerializer
from tests.courses.util import fill_course_soft_state


TEST_SEMESTER = "2023C"
Expand Down Expand Up @@ -98,6 +99,7 @@ def setUp(self):
self.cis_1930, self.cis_1930_001, _, _ = get_or_create_course_and_section(
"CIS-1920-001", TEST_SEMESTER, course_defaults={"credits": 1}
)
fill_course_soft_state()

self.degree = Degree.objects.create(program="EU_BSE", degree="BSE", major="CIS", year=2023)
self.parent_rule = Rule.objects.create()
Expand Down

0 comments on commit 170c6c6

Please sign in to comment.