Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed Nov 21, 2023
1 parent 076bace commit 04a79e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion game/tests/test_level_moderation.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def test_moderation_admin(self):
email1, password1 = signup_teacher_directly()
email2, password2 = signup_teacher_directly()
school = create_organisation_directly(email1)
join_teacher_to_organisation(email2, school.name, school.postcode)
join_teacher_to_organisation(email2, school.name)

# Create one class and student for each teacher
_, class_name1, access_code1 = create_class_directly(email1)
Expand Down
1 change: 0 additions & 1 deletion game/tests/utils/teacher.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
def create_school() -> School:
school = School()
school.name = "".join(random.choice(string.ascii_uppercase) for _ in range(10))
school.postcode = "".join(random.choice(string.ascii_uppercase) for _ in range(7))
school.country = "United Kingdom"
school.save()

Expand Down

0 comments on commit 04a79e6

Please sign in to comment.