add a test_index test

This commit is contained in:
Andreas Zweili 2019-10-20 21:22:27 +02:00
parent 40ece7cc4f
commit a699d3071a
1 changed files with 14 additions and 0 deletions

View File

@ -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