Skip to content

Commit

Permalink
Merge pull request #298 from JohnStrunk/test-env
Browse files Browse the repository at this point in the history
Add test environment for Sentry
  • Loading branch information
mergify[bot] authored Jul 4, 2023
2 parents 69c85ff + 298e997 commit df98a73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file modified testdata/testdata.mdb
Binary file not shown.
2 changes: 2 additions & 0 deletions wahoo_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ def initialize_sentry(model: Model) -> None:
execution_environment = "source"
if getattr(sys, "frozen", False) and hasattr(sys, "_MEIPASS"):
execution_environment = "executable"
if autotest.TESTING:
execution_environment = "test"

# Initialize Sentry crash reporting
sentry_sdk.init(
Expand Down

0 comments on commit df98a73

Please sign in to comment.