fix: some minor fixes
Signed-off-by: Rafal Zielinski <sq4ind@gmail.com>
This commit is contained in:
17
tests/test_simple.py
Normal file
17
tests/test_simple.py
Normal file
@@ -0,0 +1,17 @@
|
||||
"""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
|
||||
Reference in New Issue
Block a user