From bb2c70e185369b678fee4eff8bc0ab8f0929596f Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Tue, 17 Jan 2023 17:11:04 +0100 Subject: [PATCH] Run tests in subprocess --- tests/integrations/django/test_data_scrubbing.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integrations/django/test_data_scrubbing.py b/tests/integrations/django/test_data_scrubbing.py index aec1623424..c0ab14ae63 100644 --- a/tests/integrations/django/test_data_scrubbing.py +++ b/tests/integrations/django/test_data_scrubbing.py @@ -37,6 +37,7 @@ def client(): return Client(application) +@pytest.mark.forked @pytest_mark_django_db_decorator() def test_scrub_django_session_cookies_removed( sentry_init, @@ -54,6 +55,7 @@ def test_scrub_django_session_cookies_removed( assert "cookies" not in event["request"] +@pytest.mark.forked @pytest_mark_django_db_decorator() def test_scrub_django_session_cookies_filtered( sentry_init, @@ -75,6 +77,7 @@ def test_scrub_django_session_cookies_filtered( } +@pytest.mark.forked @pytest_mark_django_db_decorator() def test_scrub_django_custom_session_cookies_filtered( sentry_init,