Skip to content

Commit

Permalink
Merge branch 'main' into refactoring/#333-Added_project_short_tag_in_…
Browse files Browse the repository at this point in the history
…notebook_tests
  • Loading branch information
ckunki committed Oct 23, 2024
2 parents fab824c + f9aed53 commit 513b65d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions doc/changes/changes_3.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Code name:
## Refactorings

* #333: Added project short tag in notebook tests

## Bug Fixes

- #335: Fixed DNS resolution in ITDE when running jupyter notebook tests
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,12 @@ def test_notebook(notebook_test_container_with_log, notebook_test_file, notebook
command_echo_virtual_env = 'bash -c "echo $VIRTUAL_ENV"'
virtual_env = exec_command(command_echo_virtual_env, container)
command_run_test = (
f"{virtual_env}/bin/python"
f" -m pytest --setup-show -s --backend={notebook_test_backend} {notebook_test_file}"
f"{virtual_env}/bin/python "
f"-m pytest --setup-show -s "
f"--backend={notebook_test_backend} "
f"--itde-nameserver='8.8.8.8' "
f"--itde-db-mem-size '4 GiB' "
f"{notebook_test_file}"
)
environ = os.environ.copy()
environ["NBTEST_ACTIVE"] = "TRUE"
Expand Down

0 comments on commit 513b65d

Please sign in to comment.