20 lines
374 B
Python
20 lines
374 B
Python
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_view():
|
|
response = Client().get('/')
|
|
assert response.status_code == 200
|
|
|
|
|
|
def test_history_view():
|
|
response = Client().get('/history/36')
|
|
assert response.status_code == 200
|
|
|