Sha256: 496b4f0da67dc87960fb74c2c627dfe6720a3461050fbebd1542ee211e0575ff

Contents?: true

Size: 1.57 KB

Versions: 41

Compression:

Stored size: 1.57 KB

Contents

# coding: utf-8

"""
    Pulp 3 API

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

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


from __future__ import absolute_import

import unittest
import datetime

import pulpcore.client.pulp_2to3_migration
from pulpcore.client.pulp_2to3_migration.models.async_operation_response import AsyncOperationResponse  # noqa: E501
from pulpcore.client.pulp_2to3_migration.rest import ApiException

class TestAsyncOperationResponse(unittest.TestCase):
    """AsyncOperationResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test AsyncOperationResponse
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = pulpcore.client.pulp_2to3_migration.models.async_operation_response.AsyncOperationResponse()  # noqa: E501
        if include_optional :
            return AsyncOperationResponse(
                task = '0'
            )
        else :
            return AsyncOperationResponse(
                task = '0',
        )

    def testAsyncOperationResponse(self):
        """Test AsyncOperationResponse"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
pulp_2to3_migration_client-0.2.0b4.dev01592833441 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b4.dev01592747064 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b4.dev01592660544 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b4.dev01592574128 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b4.dev01592487725 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b4.dev01592401238 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b3 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b3.dev01592314856 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b3.dev01592228376 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b3.dev01592141958 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b3.dev01592055501 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b3.dev01591969115 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b3.dev01591882653 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b3.dev01591796232 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b3.dev01591709814 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b3.dev01591623339 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b3.dev01591536886 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b3.dev01591450451 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b3.dev01591364038 test/test_async_operation_response.py
pulp_2to3_migration_client-0.2.0b3.dev01591277626 test/test_async_operation_response.py