mirror of
https://github.com/markqvist/rnsh.git
synced 2026-01-14 14:31:13 -05:00
- Added `rns` dependency with support for pre-releases in `pyproject.toml`. - Configured pytest to recognize test files and paths. - Introduced early logging hints in the listener to improve test visibility. - Implemented a delay in the initiator to ensure proper state before identification. - Improved error handling and logging in the process management for better debugging. - Added a new `conftest.py` for CI environment handling in tests.
12 lines
284 B
Python
12 lines
284 B
Python
import os
|
|
import pytest
|
|
|
|
|
|
def pytest_collection_modifyitems(config, items):
|
|
if os.getenv("CI"):
|
|
skip_ci = pytest.mark.skip(reason="Skipped in CI environment")
|
|
for item in items:
|
|
if "skip_ci" in item.keywords:
|
|
item.add_marker(skip_ci)
|
|
|
|
|