rename to html_cleanup

This commit is contained in:
2023-11-28 10:40:54 +01:00
parent e69e1e3cc9
commit 37655ad6f5
20 changed files with 147 additions and 23 deletions

View File

@@ -5,7 +5,7 @@ from pyramid.testing import DummyRequest, testConfig
import pytest
import webtest
from cleanup_html import main
from html_cleanup import main
def pytest_addoption(parser):

View File

@@ -1,11 +1,11 @@
from cleanup_html.views.default import my_view
from cleanup_html.views.notfound import notfound_view
from html_cleanup.views.default import my_view
from html_cleanup.views.notfound import notfound_view
def test_my_view(app_request):
info = my_view(app_request)
assert app_request.response.status_int == 200
assert info['project'] == 'cleanup_html'
assert info['project'] == 'html_cleanup'
def test_notfound_view(app_request):
info = notfound_view(app_request)