diff --git a/wagtail/wagtailsnippets/tests.py b/wagtail/wagtailsnippets/tests.py index ba1512f1e..92e187d86 100644 --- a/wagtail/wagtailsnippets/tests.py +++ b/wagtail/wagtailsnippets/tests.py @@ -200,7 +200,7 @@ class TestSnippetDelete(TestCase, WagtailTestUtils): self.assertEqual(response.status_code, 200) def test_delete_post(self): - post_data = {'foo': 'bar'} # For some reason, this test doesn't work without a bit of POST data + post_data = {'foo': 'bar'} # For some reason, this test doesn't work without a bit of POST data response = self.client.post(reverse('wagtailsnippets:delete', args=('tests', 'advert', self.test_snippet.id, )), post_data) # Should be redirected to explorer page @@ -263,8 +263,6 @@ class TestSnippetChooserPanel(TestCase): result.target_content_type) - - class TestSnippetRegistering(TestCase): def test_register_function(self): self.assertIn(RegisterFunction, SNIPPET_MODELS)