Skip to content

Commit

Permalink
fix: Revert Django to 3.2.22 (CI/CD measuring) (#1527)
Browse files Browse the repository at this point in the history
* fix: Revert Django to 3.2.22 (CI/CD measuring)

* Update tests
  • Loading branch information
faucomte97 authored Nov 21, 2023
1 parent 4976106 commit 3dea756
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 72 deletions.
138 changes: 69 additions & 69 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
packages=find_packages(),
include_package_data=True,
install_requires=[
"django==3.2.23",
"django==3.2.22",
"django-csp==3.7",
"django-js-reverse==0.9.1",
"django-pipeline==2.0.8",
Expand Down

0 comments on commit 3dea756

Please sign in to comment.