Files
zeekay ea3116aac9 Fix all test issues and achieve 100% test pass rate
- Remove all unconditional pytest.skip() calls
- Fix file content tests to handle both strict/non-strict modes
- Fix missing device_capabilities module in hanzo-network
- Fix HanzoNetProvider imports and exports
- Fix local_llm.py import errors
- Create test helper classes for pagination tests
- Fix FastMCP paginator test constructor args
- Configure all API keys from ~/.zsh/after.zsh
- All tests now pass or skip conditionally based on actual requirements
2025-08-12 16:19:34 -05:00

26 lines
505 B
Python

"""Basic test for asyncio support."""
import asyncio
import pytest
def test_sync():
"""Simple synchronous test to verify basic testing works."""
assert 1 + 1 == 2
@pytest.mark.asyncio
async def test_async_simple():
"""Simple async test to verify asyncio support."""
await asyncio.sleep(0.001)
assert 1 + 1 == 2
@pytest.mark.asyncio
async def test_async_manual():
"""Run async code to verify it works."""
await asyncio.sleep(0.001)
result = 2
assert result == 2