style: reformat

This commit is contained in:
Ethan Nguyen 2021-04-23 10:54:09 -04:00
parent 9861971936
commit 56a46ce564
No known key found for this signature in database
GPG Key ID: B4CA5339AF911920

View File

@ -308,7 +308,14 @@ class DestinationsTest(TJDestsTestCase):
ceeb_code="1235", name="University of Test", location="Arlington, VA" ceeb_code="1235", name="University of Test", location="Arlington, VA"
).count(), ).count(),
) )
self.assertEqual(1, College.objects.filter(ceeb_code="INTL", name="University of Abroad", location="ExampleCity, RANDOMCOUNTRY").count()) self.assertEqual(
1,
College.objects.filter(
ceeb_code="INTL",
name="University of Abroad",
location="ExampleCity, RANDOMCOUNTRY",
).count(),
)
# Doing it again should have no duplicates # Doing it again should have no duplicates
# But let's add a few more... # But let's add a few more...
@ -341,5 +348,19 @@ class DestinationsTest(TJDestsTestCase):
ceeb_code="1235", name="University of Test", location="Arlington, VA" ceeb_code="1235", name="University of Test", location="Arlington, VA"
).count(), ).count(),
) )
self.assertEqual(1, College.objects.filter(ceeb_code="INTL", name="University of Abroad", location="ExampleCity, RANDOMCOUNTRY").count()) self.assertEqual(
self.assertEqual(1, College.objects.filter(ceeb_code="INTL", name="University of Abroad in CityTwo", location="CityTwo, RANDOMCOUNTRY").count()) 1,
College.objects.filter(
ceeb_code="INTL",
name="University of Abroad",
location="ExampleCity, RANDOMCOUNTRY",
).count(),
)
self.assertEqual(
1,
College.objects.filter(
ceeb_code="INTL",
name="University of Abroad in CityTwo",
location="CityTwo, RANDOMCOUNTRY",
).count(),
)