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

8 lines
142 B
Python
Raw Normal View History

2022-05-06 18:28:52 +02:00
import pytest
@pytest.mark.usefixtures("clean_db")
def test_script(app):
resp = app.get("/")
assert "GoogleAnalyticsObject" in resp