refactor: formatting
This commit is contained in:
parent
ea4d15b99a
commit
462bb8f485
@ -26,7 +26,6 @@ class BasicViewTest(TestCase):
|
||||
for i in range(0, 4):
|
||||
AdoptionNotice.objects.get(name=f"TestAdoption{i}").set_active()
|
||||
|
||||
|
||||
def test_index_logged_in(self):
|
||||
self.client.login(username='testuser0', password='12345')
|
||||
|
||||
@ -42,4 +41,3 @@ class BasicViewTest(TestCase):
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertContains(response, "TestAdoption1")
|
||||
self.assertNotContains(response, "TestAdoption4") # Should not be active, therefore not shown
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user