- 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>
58 lines
1.3 KiB
Python
58 lines
1.3 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.x402_api import X402Api
|
|
|
|
|
|
class TestX402Api(unittest.TestCase):
|
|
"""X402Api unit test stubs"""
|
|
|
|
def setUp(self) -> None:
|
|
self.api = X402Api()
|
|
|
|
def tearDown(self) -> None:
|
|
pass
|
|
|
|
def test_catalog_api_v1_x402_catalog_get(self) -> None:
|
|
"""Test case for catalog_api_v1_x402_catalog_get
|
|
|
|
Catalog
|
|
"""
|
|
pass
|
|
|
|
def test_receipt_api_v1_x402_receipts_tx_hash_get(self) -> None:
|
|
"""Test case for receipt_api_v1_x402_receipts_tx_hash_get
|
|
|
|
Receipt
|
|
"""
|
|
pass
|
|
|
|
def test_usage_api_v1_x402_usage_get(self) -> None:
|
|
"""Test case for usage_api_v1_x402_usage_get
|
|
|
|
Usage
|
|
"""
|
|
pass
|
|
|
|
def test_verify_payment_api_v1_x402_verify_post(self) -> None:
|
|
"""Test case for verify_payment_api_v1_x402_verify_post
|
|
|
|
Verify Payment
|
|
"""
|
|
pass
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|