From 56a46ce5641e84e78ba77b7e977df9aff2f05ec1 Mon Sep 17 00:00:00 2001 From: Ethan Nguyen Date: Fri, 23 Apr 2021 10:54:09 -0400 Subject: [PATCH] style: reformat --- tjdests/apps/destinations/tests.py | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/tjdests/apps/destinations/tests.py b/tjdests/apps/destinations/tests.py index 8bb6228..cad8456 100644 --- a/tjdests/apps/destinations/tests.py +++ b/tjdests/apps/destinations/tests.py @@ -308,7 +308,14 @@ class DestinationsTest(TJDestsTestCase): ceeb_code="1235", name="University of Test", location="Arlington, VA" ).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 # But let's add a few more... @@ -341,5 +348,19 @@ class DestinationsTest(TJDestsTestCase): ceeb_code="1235", name="University of Test", location="Arlington, VA" ).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 in CityTwo", location="CityTwo, RANDOMCOUNTRY").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 in CityTwo", + location="CityTwo, RANDOMCOUNTRY", + ).count(), + )