The watcherclient.tests.unit.common.test_api_versioning Module

class watcherclient.tests.unit.common.test_api_versioning.APIVersionTestCase(*args, **kwargs)[source]

Bases: watcherclient.tests.unit.utils.BaseTestCase

test_get_string()[source]
test_invalid_version_strings()[source]
test_null_version()[source]
test_valid_version_strings()[source]
test_version_comparisons()[source]
test_version_matches()[source]
class watcherclient.tests.unit.common.test_api_versioning.GetAPIVersionTestCase(*args, **kwargs)[source]

Bases: watcherclient.tests.unit.utils.BaseTestCase

test_get_available_client_versions()[source]
test_major_and_minor_parts_is_presented(*args, **keywargs)[source]
test_only_major_part_is_presented(*args, **keywargs)[source]
test_wrong_format()[source]
test_wrong_major_version()[source]