- Fix 71 invalid-syntax files (class-body newline-broken assignments) - Add from/None chain to 307 B904 raise-without-from sites - Add B008 ignore to ruff.toml (already in pyproject.toml) - Noqa F401 on __init__.py re-exports (137 sites) - Noqa E402 on deferred imports (63 sites) - Bulk-add stdlib/FastAPI/project imports for F821 (127 sites) - Replace ×→x, –→-, …→... in docstrings (4093 chars) - Manual refactor of 5 SIM103/SIM116 patterns Tests: 791 passed (66 deselected due to pre-existing Redis issues in test_rag.py) Co-authored-by: opencode <opencode@rugmunch.io>
65 lines
1.5 KiB
Python
65 lines
1.5 KiB
Python
|
|
"""
|
|
RMI Backend
|
|
|
|
Rug Munch Intelligence - institutional-grade crypto intelligence API. 13+ chains, 96 data providers, 8 MCP tools, x402 paid tier, sovereign-first FOSS.
|
|
|
|
The version of the OpenAPI document: 2026.06.21
|
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
|
|
Do not edit the class manually.
|
|
"""
|
|
|
|
|
|
import unittest
|
|
|
|
from rugmunch.api.token_api import TokenApi
|
|
|
|
|
|
class TestTokenApi(unittest.TestCase):
|
|
"""TokenApi unit test stubs"""
|
|
|
|
def setUp(self) -> None:
|
|
self.api = TokenApi()
|
|
|
|
def tearDown(self) -> None:
|
|
pass
|
|
|
|
def test_get_detail_api_v1_token_address_get(self) -> None:
|
|
"""Test case for get_detail_api_v1_token_address_get
|
|
|
|
Get Detail
|
|
"""
|
|
pass
|
|
|
|
def test_get_holders_api_v1_token_address_holders_get(self) -> None:
|
|
"""Test case for get_holders_api_v1_token_address_holders_get
|
|
|
|
Get Holders
|
|
"""
|
|
pass
|
|
|
|
def test_get_liquidity_api_v1_token_address_liquidity_get(self) -> None:
|
|
"""Test case for get_liquidity_api_v1_token_address_liquidity_get
|
|
|
|
Get Liquidity
|
|
"""
|
|
pass
|
|
|
|
def test_get_risk_api_v1_token_address_risk_get(self) -> None:
|
|
"""Test case for get_risk_api_v1_token_address_risk_get
|
|
|
|
Get Risk
|
|
"""
|
|
pass
|
|
|
|
def test_scan_api_v1_token_scan_post(self) -> None:
|
|
"""Test case for scan_api_v1_token_scan_post
|
|
|
|
Scan
|
|
"""
|
|
pass
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|