You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
1.4 KiB

# coding: utf-8
"""
Seaweedfs Master Server API
The Seaweedfs Master Server API allows you to store blobs # noqa: E501
The version of the OpenAPI document: 3.43.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
import openapi_client
from openapi_client.models.file_key import FileKey # noqa: E501
from openapi_client.rest import ApiException
class TestFileKey(unittest.TestCase):
"""FileKey unit test stubs"""
def setUp(self):
pass
def tearDown(self):
pass
def make_instance(self, include_optional):
"""Test FileKey
include_option 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 `FileKey`
"""
model = openapi_client.models.file_key.FileKey() # noqa: E501
if include_optional :
return FileKey(
count = 10,
fid = 3,01637037d6,
url = 127.0.0.1:8080
)
else :
return FileKey(
)
"""
def testFileKey(self):
"""Test FileKey"""
# inst_req_only = self.make_instance(include_optional=False)
# inst_req_and_optional = self.make_instance(include_optional=True)
if __name__ == '__main__':
unittest.main()