57 lines
1.7 KiB
Python
57 lines
1.7 KiB
Python
# coding: utf-8
|
|
|
|
"""
|
|
Kubernetes
|
|
|
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
|
|
|
The version of the OpenAPI document: release-1.16
|
|
Generated by: https://openapi-generator.tech
|
|
"""
|
|
|
|
|
|
from __future__ import absolute_import
|
|
|
|
import unittest
|
|
import datetime
|
|
|
|
import kubernetes.client
|
|
from kubernetes.client.models.v2beta2_cross_version_object_reference import V2beta2CrossVersionObjectReference # noqa: E501
|
|
from kubernetes.client.rest import ApiException
|
|
|
|
class TestV2beta2CrossVersionObjectReference(unittest.TestCase):
|
|
"""V2beta2CrossVersionObjectReference unit test stubs"""
|
|
|
|
def setUp(self):
|
|
pass
|
|
|
|
def tearDown(self):
|
|
pass
|
|
|
|
def make_instance(self, include_optional):
|
|
"""Test V2beta2CrossVersionObjectReference
|
|
include_option is a boolean, when False only required
|
|
params are included, when True both required and
|
|
optional params are included """
|
|
# model = kubernetes.client.models.v2beta2_cross_version_object_reference.V2beta2CrossVersionObjectReference() # noqa: E501
|
|
if include_optional :
|
|
return V2beta2CrossVersionObjectReference(
|
|
api_version = '0',
|
|
kind = '0',
|
|
name = '0'
|
|
)
|
|
else :
|
|
return V2beta2CrossVersionObjectReference(
|
|
kind = '0',
|
|
name = '0',
|
|
)
|
|
|
|
def testV2beta2CrossVersionObjectReference(self):
|
|
"""Test V2beta2CrossVersionObjectReference"""
|
|
inst_req_only = self.make_instance(include_optional=False)
|
|
inst_req_and_optional = self.make_instance(include_optional=True)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|