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

2 years ago
  1. # coding: utf-8
  2. """
  3. Seaweedfs Master Server API
  4. The Seaweedfs Master Server API allows you to store blobs # noqa: E501
  5. The version of the OpenAPI document: 3.43.0
  6. Generated by: https://openapi-generator.tech
  7. """
  8. from __future__ import absolute_import
  9. import unittest
  10. import datetime
  11. import openapi_client
  12. from openapi_client.models.file_key import FileKey # noqa: E501
  13. from openapi_client.rest import ApiException
  14. class TestFileKey(unittest.TestCase):
  15. """FileKey unit test stubs"""
  16. def setUp(self):
  17. pass
  18. def tearDown(self):
  19. pass
  20. def make_instance(self, include_optional):
  21. """Test FileKey
  22. include_option is a boolean, when False only required
  23. params are included, when True both required and
  24. optional params are included """
  25. # uncomment below to create an instance of `FileKey`
  26. """
  27. model = openapi_client.models.file_key.FileKey() # noqa: E501
  28. if include_optional :
  29. return FileKey(
  30. count = 10,
  31. fid = 3,01637037d6,
  32. url = 127.0.0.1:8080
  33. )
  34. else :
  35. return FileKey(
  36. )
  37. """
  38. def testFileKey(self):
  39. """Test FileKey"""
  40. # inst_req_only = self.make_instance(include_optional=False)
  41. # inst_req_and_optional = self.make_instance(include_optional=True)
  42. if __name__ == '__main__':
  43. unittest.main()