Skip to content

Commit d9b2c28

Browse files
angela-tranthekaveman
authored andcommitted
test(admin): update unit test assertion
1 parent 4625f25 commit d9b2c28

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

tests/pytest/core/test_admin.py

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import pytest
2+
3+
4+
@pytest.mark.django_db
5+
def test_admin_registered(client):
6+
response = client.get("/admin")
7+
8+
assert response.status_code == 301

tests/pytest/core/test_settings.py

-11
This file was deleted.

0 commit comments

Comments
 (0)