Skip to content

Commit

Permalink
set variable in conftest
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-davidyuk committed Feb 13, 2024
1 parent e9b022e commit 5a9a5c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/pre-merge-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
env:
PREMERGE_TEST_REPORT: pre_merge_test_report.html
REPORT_DIRECTORY: reports
PYTHONIOENCODING: 'utf-8'
PYTHONLEGACYWINDOWSSTDIO: 'utf-8'
PYTHONUTF8: '1'

jobs:
pr_tests:
Expand Down
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
# ---------------- Environment variables ----------------
# -------------------------------------------------------

os.environ["PYTHONIOENCODING"] = "UTF-8"

TEST_MODE = SdkTestMode[os.environ.get("TEST_MODE", "OFFLINE")]
# TEST_MODE specifies the mode in which tests are run. Only applies to the integration
# tests. Possible modes are: "OFFLINE", "ONLINE", "RECORD"
Expand Down

0 comments on commit 5a9a5c1

Please sign in to comment.