Skip to content

Commit

Permalink
test(admin): update unit test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Feb 8, 2024
1 parent 485c660 commit a654e76
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
8 changes: 8 additions & 0 deletions tests/pytest/core/test_admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import pytest


@pytest.mark.django_db
def test_admin_registered(client):
response = client.get("/admin")

assert response.status_code == 301
11 changes: 0 additions & 11 deletions tests/pytest/core/test_settings.py

This file was deleted.

0 comments on commit a654e76

Please sign in to comment.