logos-storage-py-api-client/test/test_debug_info.py

75 lines
2.2 KiB
Python
Raw Permalink Normal View History

2024-08-23 16:22:29 +02:00
# coding: utf-8
"""
Codex API
List of endpoints and interfaces available to Codex API users
The version of the OpenAPI document: 0.0.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
import unittest
2024-12-18 14:37:13 +01:00
from codex_api_client.models.debug_info import DebugInfo
2024-08-23 16:22:29 +02:00
class TestDebugInfo(unittest.TestCase):
"""DebugInfo unit test stubs"""
def setUp(self):
pass
def tearDown(self):
pass
def make_instance(self, include_optional) -> DebugInfo:
"""Test DebugInfo
include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `DebugInfo`
"""
model = DebugInfo()
if include_optional:
return DebugInfo(
id = 'QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N',
addrs = [
'/ip4/127.0.0.1/tcp/8080'
],
repo = '',
2024-12-18 14:37:13 +01:00
spr = '',
table = codex_api_client.models.peers_table.PeersTable(
local_node = codex_api_client.models.node.Node(
node_id = '',
peer_id = '',
record = '',
address = '',
seen = True, ),
nodes = [
codex_api_client.models.node.Node(
node_id = '',
peer_id = '',
record = '',
address = '',
seen = True, )
], ),
codex = codex_api_client.models.codex_version.CodexVersion(
version = 'v0.1.7',
revision = '0c647d8', )
2024-08-23 16:22:29 +02:00
)
else:
return DebugInfo(
)
"""
def testDebugInfo(self):
"""Test DebugInfo"""
# inst_req_only = self.make_instance(include_optional=False)
# inst_req_and_optional = self.make_instance(include_optional=True)
if __name__ == '__main__':
unittest.main()