7

Add unittest for serving a regular page

See #150
This commit is contained in:
Michael van Tellingen
2017-06-02 10:32:41 +02:00
parent 5aa754dd80
commit 559d3c5356
4 changed files with 34 additions and 7 deletions

View File

@ -0,0 +1,7 @@
import pytest
@pytest.mark.django_db
def test_request_device_segment_no_match(client, site):
response = client.get('/regular/')
assert response.status_code == 200