# coding: utf-8

"""
    fluid

    client for fluid  # noqa: E501

    The version of the OpenAPI document: v0.1
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import fluid
from fluid.models.thin_runtime_profile_list import ThinRuntimeProfileList  # noqa: E501
from fluid.rest import ApiException

class TestThinRuntimeProfileList(unittest.TestCase):
    """ThinRuntimeProfileList unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test ThinRuntimeProfileList
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = fluid.models.thin_runtime_profile_list.ThinRuntimeProfileList()  # noqa: E501
        if include_optional :
            return ThinRuntimeProfileList(
                api_version = '0', 
                items = [
                    fluid.models./thin_runtime_profile..ThinRuntimeProfile(
                        api_version = '0', 
                        kind = '0', 
                        metadata = None, 
                        spec = fluid.models./thin_runtime_profile_spec..ThinRuntimeProfileSpec(
                            file_system_type = '0', 
                            fuse = fluid.models./thin_fuse_spec..ThinFuseSpec(
                                args = [
                                    '0'
                                    ], 
                                clean_policy = '0', 
                                command = [
                                    '0'
                                    ], 
                                env = [
                                    None
                                    ], 
                                image = '0', 
                                image_pull_policy = '0', 
                                image_tag = '0', 
                                liveness_probe = None, 
                                network_mode = '0', 
                                node_selector = {
                                    'key' : '0'
                                    }, 
                                options = {
                                    'key' : '0'
                                    }, 
                                ports = [
                                    None
                                    ], 
                                readiness_probe = None, 
                                resources = None, 
                                volume_mounts = [
                                    None
                                    ], ), 
                            node_publish_secret_policy = '0', 
                            volumes = [
                                None
                                ], 
                            worker = fluid.models./thin_comp_template_spec..ThinCompTemplateSpec(
                                enabled = True, 
                                image = '0', 
                                image_pull_policy = '0', 
                                image_tag = '0', 
                                liveness_probe = None, 
                                network_mode = '0', 
                                readiness_probe = None, 
                                replicas = 56, 
                                resources = None, ), ), 
                        status = fluid.models.status.status(), )
                    ], 
                kind = '0', 
                metadata = None
            )
        else :
            return ThinRuntimeProfileList(
                items = [
                    fluid.models./thin_runtime_profile..ThinRuntimeProfile(
                        api_version = '0', 
                        kind = '0', 
                        metadata = None, 
                        spec = fluid.models./thin_runtime_profile_spec..ThinRuntimeProfileSpec(
                            file_system_type = '0', 
                            fuse = fluid.models./thin_fuse_spec..ThinFuseSpec(
                                args = [
                                    '0'
                                    ], 
                                clean_policy = '0', 
                                command = [
                                    '0'
                                    ], 
                                env = [
                                    None
                                    ], 
                                image = '0', 
                                image_pull_policy = '0', 
                                image_tag = '0', 
                                liveness_probe = None, 
                                network_mode = '0', 
                                node_selector = {
                                    'key' : '0'
                                    }, 
                                options = {
                                    'key' : '0'
                                    }, 
                                ports = [
                                    None
                                    ], 
                                readiness_probe = None, 
                                resources = None, 
                                volume_mounts = [
                                    None
                                    ], ), 
                            node_publish_secret_policy = '0', 
                            volumes = [
                                None
                                ], 
                            worker = fluid.models./thin_comp_template_spec..ThinCompTemplateSpec(
                                enabled = True, 
                                image = '0', 
                                image_pull_policy = '0', 
                                image_tag = '0', 
                                liveness_probe = None, 
                                network_mode = '0', 
                                readiness_probe = None, 
                                replicas = 56, 
                                resources = None, ), ), 
                        status = fluid.models.status.status(), )
                    ],
        )

    def testThinRuntimeProfileList(self):
        """Test ThinRuntimeProfileList"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


if __name__ == '__main__':
    unittest.main()
