diff --git a/sensors/collector/tests/test_views.py b/sensors/collector/tests/test_views.py new file mode 100644 index 0000000..6cb50df --- /dev/null +++ b/sensors/collector/tests/test_views.py @@ -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 +