mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-04-04 23:20:42 +00:00
Updated tests
This commit is contained in:
parent
a802dfe8ae
commit
9c296ccff5
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class PostListTest(BaseIntegrationTest):
|
|||
|
||||
def test_actions_displayed(self):
|
||||
response = self.client.get(reverse("admin2:blog_post_index"))
|
||||
self.assertInHTML('<option value="DeleteSelectedAction">Delete selected items</option>', response.content)
|
||||
self.assertInHTML('<a tabindex="-1" href="#" data-name="action" data-value="DeleteSelectedAction">Delete selected items</a>', response.content)
|
||||
|
||||
def test_delete_selected_post(self):
|
||||
post = Post.objects.create(title="a_post_title", body="body")
|
||||
|
|
|
|||
Loading…
Reference in a new issue