Skip to content

Commit

Permalink
Remove test_admin from TestIndexView
Browse files Browse the repository at this point in the history
  • Loading branch information
cc-a committed Oct 8, 2024
1 parent 995e719 commit 864ca64
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/process_manager/views/test_page_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ def test_authenticated(self, auth_client):
response = auth_client.get(self.endpoint)
assert response.status_code == HTTPStatus.OK

def test_admin(self, admin_client):
"""Test the index view for an admin user."""
with assertTemplateUsed(template_name="process_manager/index.html"):
response = admin_client.get(self.endpoint)
assert response.status_code == HTTPStatus.OK
assertContains(response, "Boot</a>")

def test_session_messages(self, auth_client):
"""Test the rendering of messages from the user session into the view."""
from django.contrib.sessions.backends.db import SessionStore
Expand Down

0 comments on commit 864ca64

Please sign in to comment.