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.
55 lines
1.4 KiB
55 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.location import Location # noqa: E501
|
|
from openapi_client.rest import ApiException
|
|
|
|
class TestLocation(unittest.TestCase):
|
|
"""Location unit test stubs"""
|
|
|
|
def setUp(self):
|
|
pass
|
|
|
|
def tearDown(self):
|
|
pass
|
|
|
|
def make_instance(self, include_optional):
|
|
"""Test Location
|
|
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 `Location`
|
|
"""
|
|
model = openapi_client.models.location.Location() # noqa: E501
|
|
if include_optional :
|
|
return Location(
|
|
public_url = localhost:8080,
|
|
url = localhost:8080
|
|
)
|
|
else :
|
|
return Location(
|
|
)
|
|
"""
|
|
|
|
def testLocation(self):
|
|
"""Test Location"""
|
|
# inst_req_only = self.make_instance(include_optional=False)
|
|
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|