|
|
|
|
|
|
|
|
""" |
|
|
VCell API |
|
|
|
|
|
VCell API |
|
|
|
|
|
The version of the OpenAPI document: 1.0.1 |
|
|
Contact: vcell_support@uchc.com |
|
|
Generated by OpenAPI Generator (https://openapi-generator.tech) |
|
|
|
|
|
Do not edit the class manually. |
|
|
""" |
|
|
|
|
|
|
|
|
import unittest |
|
|
import datetime |
|
|
|
|
|
from vcell_client.models.data_identifier import DataIdentifier |
|
|
|
|
|
class TestDataIdentifier(unittest.TestCase): |
|
|
"""DataIdentifier unit test stubs""" |
|
|
|
|
|
def setUp(self): |
|
|
pass |
|
|
|
|
|
def tearDown(self): |
|
|
pass |
|
|
|
|
|
def make_instance(self, include_optional) -> DataIdentifier: |
|
|
"""Test DataIdentifier |
|
|
include_option is a boolean, when False only required |
|
|
params are included, when True both required and |
|
|
optional params are included """ |
|
|
|
|
|
""" |
|
|
model = DataIdentifier() |
|
|
if include_optional: |
|
|
return DataIdentifier( |
|
|
name = '', |
|
|
display_name = '', |
|
|
variable_type = vcell_client.models.variable_type.VariableType( |
|
|
type = 56, |
|
|
variable_domain = 'VARIABLEDOMAIN_POSTPROCESSING', |
|
|
name = '', |
|
|
units = '', |
|
|
label = '', |
|
|
legacy_warn = True, |
|
|
default_label = '', |
|
|
default_units = '', |
|
|
type_name = '', ), |
|
|
domain = vcell_client.models.domain.Domain( |
|
|
name = '', ), |
|
|
b_function = True, |
|
|
function = True, |
|
|
visible = True |
|
|
) |
|
|
else: |
|
|
return DataIdentifier( |
|
|
) |
|
|
""" |
|
|
|
|
|
def testDataIdentifier(self): |
|
|
"""Test DataIdentifier""" |
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
unittest.main() |
|
|
|