"""Conftest.""" import ddtrace import pytest from socials import api @pytest.fixture def app_context(): """Create an api test app fixture.""" with api.app.app_context(): yield @pytest.fixture(autouse=True) def datadog_tracer_disable(): """Disable datadog tracer.""" ddtrace.tracer.enabled = False