Skip to content

Commit

Permalink
Fix import issue
Browse files Browse the repository at this point in the history
  • Loading branch information
harelmo-lumigo committed Apr 18, 2024
1 parent e646156 commit 2f45cef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/integration/logging/tests/test_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def run_logging_app(
path.dirname(path.abspath(__file__)),
"../app/logging_app.py",
)
root_src_path = path.abspath("../../..")

completed_process = subprocess.run(
[sys.executable, app_path],
Expand All @@ -26,6 +27,8 @@ def run_logging_app(
or os.environ.get("LUMIGO_DEBUG_LOGDUMP"),
"LUMIGO_SECRET_MASKING_REGEX": '[".*super-secret.*"]',
"LOG_AS_STRING": str(log_as_string).lower(),
# Without this, requiring the lumigo_opentelemetry package will fail in the test app
"PYTHONPATH": root_src_path,
},
capture_output=True,
)
Expand Down

0 comments on commit 2f45cef

Please sign in to comment.