mirror of
https://github.com/logos-storage/logos-storage-py-api-client.git
synced 2026-01-02 21:43:12 +00:00
95 lines
1.9 KiB
Python
95 lines
1.9 KiB
Python
# 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.marketplace_api import MarketplaceApi
|
|
|
|
|
|
class TestMarketplaceApi(unittest.TestCase):
|
|
"""MarketplaceApi unit test stubs"""
|
|
|
|
def setUp(self) -> None:
|
|
self.api = MarketplaceApi()
|
|
|
|
def tearDown(self) -> None:
|
|
pass
|
|
|
|
def test_create_storage_request(self) -> None:
|
|
"""Test case for create_storage_request
|
|
|
|
Creates a new Request for storage
|
|
"""
|
|
pass
|
|
|
|
def test_get_active_slot_by_id(self) -> None:
|
|
"""Test case for get_active_slot_by_id
|
|
|
|
Returns active slot with id {slotId} for the host
|
|
"""
|
|
pass
|
|
|
|
def test_get_active_slots(self) -> None:
|
|
"""Test case for get_active_slots
|
|
|
|
Returns active slots
|
|
"""
|
|
pass
|
|
|
|
def test_get_offered_storage(self) -> None:
|
|
"""Test case for get_offered_storage
|
|
|
|
Returns storage that is for sale
|
|
"""
|
|
pass
|
|
|
|
def test_get_purchase(self) -> None:
|
|
"""Test case for get_purchase
|
|
|
|
Returns purchase details
|
|
"""
|
|
pass
|
|
|
|
def test_get_purchases(self) -> None:
|
|
"""Test case for get_purchases
|
|
|
|
Returns list of purchase IDs
|
|
"""
|
|
pass
|
|
|
|
def test_get_reservations(self) -> None:
|
|
"""Test case for get_reservations
|
|
|
|
Get availability's reservations
|
|
"""
|
|
pass
|
|
|
|
def test_offer_storage(self) -> None:
|
|
"""Test case for offer_storage
|
|
|
|
Offers storage for sale
|
|
"""
|
|
pass
|
|
|
|
def test_update_offered_storage(self) -> None:
|
|
"""Test case for update_offered_storage
|
|
|
|
Updates availability
|
|
"""
|
|
pass
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|