Files
adguard-control-hub/tests/test_simple.py
Rafal Zielinski e23d60d895
Some checks failed
Tests / test (3.13) (push) Failing after 26s
Tests / lint (push) Failing after 16s
Tests / hacs (push) Failing after 30s
fix: some minor fixes
Signed-off-by: Rafal Zielinski <sq4ind@gmail.com>
2025-10-02 16:09:10 +01:00

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