mirror of
https://github.com/razzant/ouroboros.git
synced 2026-10-03 20:27:56 +00:00
Silence F811 for fixture-shadowing test params in rich markdown smoke
The direct_server_with_data parameters intentionally shadow the imported pytest fixture; annotate them with noqa: F811 following the pattern in tests/test_ui_smoke_structured_media.py so ruff --select F stays clean.
This commit is contained in:
parent
27922f1439
commit
3e455ad244
1 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ from tests.test_ui_smoke_playwright import direct_server_with_data # noqa: F401
|
|||
|
||||
|
||||
@pytest.mark.ui_browser
|
||||
def test_ui_browser_marked_rich_markdown_and_security(direct_server_with_data):
|
||||
def test_ui_browser_marked_rich_markdown_and_security(direct_server_with_data): # noqa: F811
|
||||
"""Rich chat markdown renders every supported format without activating HTML."""
|
||||
pytest.importorskip("playwright.sync_api", reason="Playwright is not installed")
|
||||
from playwright.sync_api import Error as PlaywrightError
|
||||
|
|
@ -279,7 +279,7 @@ def test_ui_browser_marked_rich_markdown_and_security(direct_server_with_data):
|
|||
|
||||
|
||||
@pytest.mark.ui_browser
|
||||
def test_ui_browser_mermaid_load_failure_retries(direct_server_with_data):
|
||||
def test_ui_browser_mermaid_load_failure_retries(direct_server_with_data): # noqa: F811
|
||||
"""A failed Mermaid script is removed and a later diagram retries the load."""
|
||||
pytest.importorskip("playwright.sync_api", reason="Playwright is not installed")
|
||||
from playwright.sync_api import Error as PlaywrightError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue