add slow marker
This commit is contained in:
parent
c1ebcf84c2
commit
b041145c03
2 changed files with 5 additions and 2 deletions
|
|
@ -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",
|
||||
]
|
||||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue