Fixed a couple of clashing test names (F811)

This commit is contained in:
Karl Hobley 2015-04-03 18:28:15 +01:00
parent 4186b56764
commit 88ef591b84
2 changed files with 2 additions and 2 deletions

View file

@ -1952,7 +1952,7 @@ class TestLocking(TestCase, WagtailTestUtils):
# Check that the page is locked
self.assertTrue(Page.objects.get(id=self.child_page.id).locked)
def test_unlock_post_with_bad_redirect(self):
def test_lock_post_with_bad_redirect(self):
response = self.client.post(reverse('wagtailadmin_pages_lock', args=(self.child_page.id, )), {
'next': 'http://www.google.co.uk'
})

View file

@ -448,7 +448,7 @@ class TestMultipleImageUploader(TestCase, WagtailTestUtils):
self.assertEqual(response_json['image_id'], self.image.id)
self.assertTrue(response_json['success'])
def test_edit_post_noajax(self):
def test_delete_post_noajax(self):
"""
This tests that a POST request to the delete view without AJAX returns a 400 response
"""