ckanext-googleanalytics/ckanext/googleanalytics/tests/test_plugin.py

8 lines
142 B
Python

import pytest
@pytest.mark.usefixtures("clean_db")
def test_script(app):
resp = app.get("/")
assert "GoogleAnalyticsObject" in resp