add a test_index test
This commit is contained in:
parent
40ece7cc4f
commit
a699d3071a
|
@ -0,0 +1,14 @@
|
|||
import pytest
|
||||
from mixer.backend.django import mixer
|
||||
|
||||
from django.test import Client
|
||||
|
||||
from .helper import in_content, not_in_content
|
||||
|
||||
pytestmark=pytest.mark.django_db
|
||||
|
||||
|
||||
def test_index_temperature():
|
||||
response = Client().get('/')
|
||||
assert response.status_code == 200
|
||||
|
Loading…
Reference in New Issue