mirror of
https://github.com/etnguyen03/tjdests.git
synced 2025-04-20 17:50:16 -04:00
style: reformat
This commit is contained in:
parent
9861971936
commit
56a46ce564
|
@ -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(),
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user