Add Docker-executed pytest suite with >90% coverage
This commit is contained in:
8
apps/legal/tests/test_more.py
Normal file
8
apps/legal/tests/test_more.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import pytest
|
||||
|
||||
from apps.legal.models import LegalIndexPage
|
||||
|
||||
|
||||
@pytest.mark.django_db
|
||||
def test_legal_index_sitemap_urls_empty():
|
||||
assert LegalIndexPage().get_sitemap_urls() == []
|
||||
Reference in New Issue
Block a user