chore: Remove temporary pin on pydantic (#5911)

* chore: Remove temporary pin on pydantic

* test: Guarantee ordering of sessions in test

Should fix an intermittent test failure.
This commit is contained in:
Jennifer Richards 2023-07-05 10:50:50 -03:00 committed by GitHub
parent 60dc60234d
commit 09f347727b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -146,7 +146,7 @@ class SessionRequestTestCase(TestCase):
self.assertRedirects(r, redirect_url)
# Check whether updates were stored in the database
sessions = Session.objects.filter(meeting=meeting, group=mars)
sessions = Session.objects.filter(meeting=meeting, group=mars).order_by("id") # order to match edit() view
self.assertEqual(len(sessions), 2)
session = sessions[0]

View file

@ -72,4 +72,3 @@ Unidecode>=1.3.4
weasyprint>=59
xml2rfc>=3.12.4
xym>=0.6,<1.0
pydantic<2 # Temporary pin until inflect can catch up.