pycadf.tests package

Submodules

pycadf.tests.base module

Test base classes.

class pycadf.tests.base.TestCase(*args, **kwargs)[source]

Bases: testtools.testcase.TestCase

path_get(project_file=None)[source]
setUp()[source]
tearDown()[source]
temp_config_file_path(name='api_audit_map.conf')[source]

pycadf.tests.test_cadf_spec module

class pycadf.tests.test_cadf_spec.TestCADFSpec(*args, **kwargs)[source]

Bases: pycadf.tests.base.TestCase

test_attachment()[source]
test_cadfabstracttype_attribute_error()[source]

Test an invalid CADFAbstractType attribute is set returns False

test_credential()[source]
test_endpoint()[source]
test_event()[source]
test_event_resource_shortform_not_self()[source]
test_event_unique()[source]
test_federated_credential()[source]
test_geolocation()[source]
test_host()[source]
test_identifier(*args, **keywargs)[source]
test_invalid_value_descriptor()[source]

Test setting a ValidatorDescriptor to None results in ValueError

test_measurement()[source]
test_metric()[source]
test_reason()[source]
test_reporterstep()[source]
test_resource()[source]
test_resource_shortform()[source]

pycadf.tests.test_utils module

class pycadf.tests.test_utils.TestUtils(*args, **kwargs)[source]

Bases: pycadf.tests.base.TestCase

test_mask_value()[source]
test_mask_value_nonstring()[source]

Module contents