Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions tests/test_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,29 +66,6 @@ def get_target_html(config, notebook):
)


assets = mark.parametrize("asset", ["settings.js", "style.css"])


@configs
def test_config_loading(config):
"""Verify configs are loaded."""
exporter_from_config(config) # will ExporterNameError if there is a failure.


@assets
def test_static_assets(asset):
"""This is a bad test. it won't fail, but needs to run to collect testing assets."""
target = HTML / asset
target.parent.mkdir(exist_ok=True, parents=True)
for path in map(
Path, jupyter_core.paths.jupyter_path("nbconvert", "templates", "a11y", "static", asset)
):
if path.exists():
copyfile(path, target)
break
assert target.exists(), f"{asset} couldn't be created"


@configs
@notebooks
def test_export_notebooks(config, notebook):
Expand Down