mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-11 10:30:58 +00:00
PEP8 fixes
This commit is contained in:
parent
b1ca612965
commit
028632eabe
1 changed files with 1 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue