1f4f1fa557
- Use contextlib.suppress instead of try/except/pass (SIM105) - Prefix unused fixture arguments with underscore (ARG002) - Replace asyncio.TimeoutError with TimeoutError (UP041) - Apply ruff formatting to all files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
21 lines
591 B
Python
21 lines
591 B
Python
"""Test that the project setup is working correctly."""
|
|
|
|
import polymarket_insider_tracker
|
|
|
|
|
|
def test_version() -> None:
|
|
"""Test that version is defined."""
|
|
assert polymarket_insider_tracker.__version__ == "0.1.0"
|
|
|
|
|
|
def test_import_modules() -> None:
|
|
"""Test that all submodules can be imported."""
|
|
from polymarket_insider_tracker import alerter, detector, ingestor, profiler, storage
|
|
|
|
# Just verify imports work
|
|
assert ingestor is not None
|
|
assert profiler is not None
|
|
assert detector is not None
|
|
assert alerter is not None
|
|
assert storage is not None
|