mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-05 06:08:12 +08:00
simple test for monitor
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
def test_admin_view(admin_client):
|
||||
response = admin_client.get('/admin/django_q/')
|
||||
assert response.status_code == 200
|
||||
response = admin_client.get('/admin/django_q/failure/')
|
||||
assert response.status_code == 200
|
||||
response = admin_client.get('/admin/django_q/success/')
|
||||
assert response.status_code == 200
|
||||
Reference in New Issue
Block a user