67 lines
1.6 KiB
Python
Raw 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
from codex_client.api.data_api import DataApi
class TestDataApi(unittest.TestCase):
"""DataApi unit test stubs"""
def setUp(self) -> None:
self.api = DataApi()
def tearDown(self) -> None:
pass
def test_download_local(self) -> None:
"""Test case for download_local
Download a file from the local node in a streaming manner. If the file is not available locally, a 404 is returned.
"""
pass
def test_download_network(self) -> None:
"""Test case for download_network
Download a file from the network in a streaming manner. If the file is not available locally, it will be retrieved from other nodes in the network if able.
"""
pass
def test_list_data(self) -> None:
"""Test case for list_data
Lists manifest CIDs stored locally in node.
"""
pass
def test_space(self) -> None:
"""Test case for space
Gets a summary of the storage space allocation of the node.
"""
pass
def test_upload(self) -> None:
"""Test case for upload
Upload a file in a streaming manner. Once finished, the file is stored in the node and can be retrieved by any node in the network using the returned CID.
"""
pass
if __name__ == '__main__':
unittest.main()