Skip to content

Commit

Permalink
Cloud storage notebook test (#201)
Browse files Browse the repository at this point in the history
* Cloud storage notebook test

* Obey my power, machine [run-notebook-tests]

* Add back fixture [run-notebook-tests]

* Add pytest_plugins, fix dir name [run-notebook-tests]

* Fix pytest_plugins [run-notebook-tests]

* Fix pytest_plugins [run-notebook-tests]

* Fix pytest_plugins [run-notebook-tests]

* Revert back to imports [run-notebook-tests]
  • Loading branch information
Shmuma authored Feb 19, 2024
1 parent c241a6b commit 75b3f71
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/notebooks/nbtest_cloud.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import os
from notebook_test_utils import (access_to_temp_secret_store, notebook_runner)


def test_cloud_notebook(notebook_runner) -> None:

current_dir = os.getcwd()
try:
notebook_runner('main_config.ipynb')
notebook_runner('cloud_store_config.ipynb')
os.chdir('cloud')
notebook_runner('01_import_data.ipynb')
finally:
os.chdir(current_dir)

0 comments on commit 75b3f71

Please sign in to comment.