Skip to content

Commit

Permalink
test(sessions): Add comments to explain test
Browse files Browse the repository at this point in the history
Implement suggestion from #3419 (comment).
  • Loading branch information
szokeasaurusrex committed Aug 9, 2024
1 parent 275c63e commit e9adc9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ def test_no_thread_on_shutdown_no_errors(sentry_init):
sentry_sdk.get_isolation_scope().end_session()
sentry_sdk.flush()

# If we reach this point without error, the test is successful.


def test_no_thread_on_shutdown_no_errors_deprecated(
sentry_init, suppress_deprecation_warnings
Expand Down Expand Up @@ -242,3 +244,5 @@ def test_no_thread_on_shutdown_no_errors_deprecated(
sentry_sdk.get_isolation_scope().start_session(session_mode="request")
sentry_sdk.get_isolation_scope().end_session()
sentry_sdk.flush()

# If we reach this point without error, the test is successful.

0 comments on commit e9adc9d

Please sign in to comment.