testing-html-merge #15

Merged
dan merged 8 commits from testing-html-merge into dev 2023-12-09 15:28:50 +01:00
2 changed files with 5 additions and 2 deletions
Showing only changes of commit b041145c03 - Show all commits

View file

@ -52,4 +52,7 @@ target-version = "py311"
[tool.pytest.ini_options]
python_functions = "setup_* test_* cleanup_*"
norecursedirs = ".* previous-work recipes"
testpaths = "tests"
testpaths = "tests"
markers = [
"slow: marks tests as slow",
]

View file

@ -1,7 +1,6 @@
# tmp_path fixture:
# https://docs.pytest.org/en/6.2.x/tmpdir.html
import os
from pathlib import Path
import pytest
@ -34,6 +33,7 @@ def test_merge_html(session_tmp_path: Path):
assert next(out_assets_dir.glob("*"))
@pytest.mark.slow
def test_check_result_with_playwright(session_tmp_path, context: BrowserContext):
html_file = session_tmp_path / "test.html"
file_url = BaseUrl(netloc=html_file.as_posix(), scheme="file").get()