18 lines
402 B
Python
18 lines
402 B
Python
"""Simple test to verify pytest configuration."""
|
|
import pytest
|
|
|
|
|
|
@pytest.mark.asyncio
|
|
async def test_async_works():
|
|
"""Test that async functions work with pytest."""
|
|
async def simple_async_function():
|
|
return True
|
|
|
|
result = await simple_async_function()
|
|
assert result is True
|
|
|
|
|
|
def test_sync_works():
|
|
"""Test that sync functions work with pytest."""
|
|
assert True is True
|