Skip to content

Commit f7ec7b4

Browse files
Josselin BUILSjosselinbuils
authored andcommitted
test: remove e2e tests that have been moved to docker app
1 parent 200b4ee commit f7ec7b4

File tree

8 files changed

+0
-916
lines changed

8 files changed

+0
-916
lines changed

.github/scripts/add_latest_release_branch_to_github_env.py

Lines changed: 0 additions & 69 deletions
This file was deleted.

.github/workflows/e2e_tests.yml

Lines changed: 0 additions & 241 deletions
This file was deleted.

docs/utils.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -235,21 +235,6 @@ def check_mkdocs_yml_up_to_date(md_filepath: Path):
235235
raise OutdatedMkDocs(f"sdk/tutorials/{md_filepath.name} is not in mkdocs.yml.")
236236

237237

238-
class NotebookTestMissingError(Exception):
239-
"""Raised when notebook is not tested in test_notebooks.py."""
240-
241-
242-
def check_notebook_tested(ipynb_filepath: Path):
243-
"""Check if notebook is tested."""
244-
with open("tests/e2e/test_notebooks.py", encoding="utf-8") as file:
245-
test_notebooks_module_str = file.read()
246-
247-
if f"recipes/{ipynb_filepath.name}" not in test_notebooks_module_str:
248-
raise NotebookTestMissingError(
249-
f"recipes/{ipynb_filepath.name} not found in test_notebooks.py."
250-
)
251-
252-
253238
class ColabLinkMissingError(Exception):
254239
"""Raised when notebook does not have a colab link."""
255240

@@ -359,7 +344,6 @@ def notebook_tutorials_commit_hook(modified_files: Sequence[Path]):
359344
md_filepath = md_filepath.resolve()
360345

361346
check_mkdocs_yml_up_to_date(md_filepath)
362-
check_notebook_tested(ipynb_filepath)
363347
check_colab_link_in_notebook(ipynb_filepath)
364348
check_create_project_has_good_title_in_notebook(ipynb_filepath)
365349
check_in_tutorial_homepage(tutorial_name)

tests/e2e/__init__.py

Whitespace-only changes.

tests/e2e/conftest.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)