""" Pytest configuration for WebDAV server tests """ import pytest import asyncio # Configure pytest-asyncio def pytest_configure(config): """Configure pytest with custom settings""" config.addinivalue_line( "markers", "asyncio: mark test as an asyncio test" ) @pytest.fixture(scope="session") def event_loop(): """Create an instance of the default event loop for the test session.""" loop = asyncio.get_event_loop_policy().new_event_loop() yield loop loop.close() # Set asyncio mode pytest_plugins = ('pytest_asyncio',)