Skip to content

Commit 1cba56a

Browse files
authored
Remove all forked markers in test_api (#4576)
again see no reason why we need these part of #4538
1 parent 7d7027a commit 1cba56a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/test_api.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
from sentry_sdk.client import Client, NonRecordingClient
2525

2626

27-
@pytest.mark.forked
2827
def test_get_current_span():
2928
fake_scope = mock.MagicMock()
3029
fake_scope.span = mock.MagicMock()
@@ -34,7 +33,6 @@ def test_get_current_span():
3433
assert get_current_span(fake_scope) is None
3534

3635

37-
@pytest.mark.forked
3836
def test_get_current_span_default_hub(sentry_init):
3937
sentry_init()
4038

@@ -47,7 +45,6 @@ def test_get_current_span_default_hub(sentry_init):
4745
assert get_current_span() == fake_span
4846

4947

50-
@pytest.mark.forked
5148
def test_get_current_span_default_hub_with_transaction(sentry_init):
5249
sentry_init()
5350

@@ -57,7 +54,6 @@ def test_get_current_span_default_hub_with_transaction(sentry_init):
5754
assert get_current_span() == new_transaction
5855

5956

60-
@pytest.mark.forked
6157
def test_traceparent_with_tracing_enabled(sentry_init):
6258
sentry_init(traces_sample_rate=1.0)
6359

@@ -69,7 +65,6 @@ def test_traceparent_with_tracing_enabled(sentry_init):
6965
assert get_traceparent() == expected_traceparent
7066

7167

72-
@pytest.mark.forked
7368
def test_traceparent_with_tracing_disabled(sentry_init):
7469
sentry_init()
7570

@@ -81,7 +76,6 @@ def test_traceparent_with_tracing_disabled(sentry_init):
8176
assert get_traceparent() == expected_traceparent
8277

8378

84-
@pytest.mark.forked
8579
def test_baggage_with_tracing_disabled(sentry_init):
8680
sentry_init(release="1.0.0", environment="dev")
8781
propagation_context = get_isolation_scope()._propagation_context
@@ -93,7 +87,6 @@ def test_baggage_with_tracing_disabled(sentry_init):
9387
assert get_baggage() == expected_baggage
9488

9589

96-
@pytest.mark.forked
9790
def test_baggage_with_tracing_enabled(sentry_init):
9891
sentry_init(traces_sample_rate=1.0, release="1.0.0", environment="dev")
9992
with start_transaction() as transaction:
@@ -103,7 +96,6 @@ def test_baggage_with_tracing_enabled(sentry_init):
10396
assert re.match(expected_baggage_re, get_baggage())
10497

10598

106-
@pytest.mark.forked
10799
def test_continue_trace(sentry_init):
108100
sentry_init()
109101

@@ -130,7 +122,6 @@ def test_continue_trace(sentry_init):
130122
}
131123

132124

133-
@pytest.mark.forked
134125
def test_is_initialized():
135126
assert not is_initialized()
136127

@@ -139,7 +130,6 @@ def test_is_initialized():
139130
assert is_initialized()
140131

141132

142-
@pytest.mark.forked
143133
def test_get_client():
144134
client = get_client()
145135
assert client is not None

0 commit comments

Comments
 (0)