Skip to content

Commit 2e991c7

Browse files
test(sessions): Add comments to explain test (getsentry#3430)
Implement suggestion from getsentry#3419 (comment). Co-authored-by: Anton Pirker <anton.pirker@sentry.io>
1 parent bde87ff commit 2e991c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_sessions.py

+4
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ def test_no_thread_on_shutdown_no_errors(sentry_init):
215215
sentry_sdk.get_isolation_scope().end_session()
216216
sentry_sdk.flush()
217217

218+
# If we reach this point without error, the test is successful.
219+
218220

219221
def test_no_thread_on_shutdown_no_errors_deprecated(
220222
sentry_init, suppress_deprecation_warnings
@@ -242,3 +244,5 @@ def test_no_thread_on_shutdown_no_errors_deprecated(
242244
sentry_sdk.get_isolation_scope().start_session(session_mode="request")
243245
sentry_sdk.get_isolation_scope().end_session()
244246
sentry_sdk.flush()
247+
248+
# If we reach this point without error, the test is successful.

0 commit comments

Comments
 (0)