2121from tests .conftest import SortedBaggage
2222
2323
24- @pytest .mark .forked
2524def test_get_current_span_current_scope_with_span (sentry_init ):
2625 sentry_init ()
2726
@@ -31,7 +30,6 @@ def test_get_current_span_current_scope_with_span(sentry_init):
3130 assert get_current_span () == new_span
3231
3332
34- @pytest .mark .forked
3533def test_traceparent_with_tracing_enabled (sentry_init ):
3634 sentry_init (traces_sample_rate = 1.0 )
3735
@@ -43,7 +41,6 @@ def test_traceparent_with_tracing_enabled(sentry_init):
4341 assert get_traceparent () == expected_traceparent
4442
4543
46- @pytest .mark .forked
4744def test_traceparent_with_tracing_disabled (sentry_init ):
4845 sentry_init ()
4946
@@ -55,7 +52,6 @@ def test_traceparent_with_tracing_disabled(sentry_init):
5552 assert get_traceparent () == expected_traceparent
5653
5754
58- @pytest .mark .forked
5955def test_baggage_with_tracing_disabled (sentry_init ):
6056 sentry_init (release = "1.0.0" , environment = "dev" )
6157 propagation_context = get_isolation_scope ()._propagation_context
@@ -67,7 +63,6 @@ def test_baggage_with_tracing_disabled(sentry_init):
6763 assert get_baggage () == SortedBaggage (expected_baggage )
6864
6965
70- @pytest .mark .forked
7166def test_baggage_with_tracing_enabled (sentry_init ):
7267 sentry_init (traces_sample_rate = 1.0 , release = "1.0.0" , environment = "dev" )
7368 with mock .patch ("sentry_sdk.tracing_utils.Random.uniform" , return_value = 0.111111 ):
@@ -76,7 +71,6 @@ def test_baggage_with_tracing_enabled(sentry_init):
7671 assert get_baggage () == SortedBaggage (expected_baggage )
7772
7873
79- @pytest .mark .forked
8074def test_continue_trace (sentry_init ):
8175 sentry_init (traces_sample_rate = 1.0 )
8276
@@ -102,7 +96,6 @@ def test_continue_trace(sentry_init):
10296 }
10397
10498
105- @pytest .mark .forked
10699def test_is_initialized ():
107100 assert not is_initialized ()
108101
@@ -111,7 +104,6 @@ def test_is_initialized():
111104 assert is_initialized ()
112105
113106
114- @pytest .mark .forked
115107def test_get_client ():
116108 client = get_client ()
117109 assert client is not None
0 commit comments