From cbf6f0ce1ea5c91c457547a39d299e682356ef40 Mon Sep 17 00:00:00 2001 From: Christopher Charbonneau Wells Date: Mon, 30 Mar 2020 05:25:57 -0700 Subject: [PATCH] Fix minor linting issues --- core/tests/tests_forms.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/tests/tests_forms.py b/core/tests/tests_forms.py index 4c8ba7b6..b665b008 100644 --- a/core/tests/tests_forms.py +++ b/core/tests/tests_forms.py @@ -93,7 +93,8 @@ class InitialValuesTestCase(FormsTestCaseBase): birth_date=timezone.localdate() ) start_time = timezone.localtime() - timezone.timedelta(hours=4) - end_time = timezone.localtime() - timezone.timedelta(hours=3, minutes=30) + end_time = timezone.localtime() - timezone.timedelta(hours=3, + minutes=30) f_one = models.Feeding.objects.create( child=self.child, start=start_time, @@ -129,7 +130,8 @@ class InitialValuesTestCase(FormsTestCaseBase): page = self.c.get('/feedings/add/?child={}'.format(child_three.slug)) self.assertEqual(page.context['form'].initial['type'], f_three.type) - self.assertEqual(page.context['form'].initial['method'], f_three.method) + self.assertEqual(page.context['form'].initial['method'], + f_three.method) def test_timer_set(self): self.timer.stop()