The watcherclient.tests.common.test_api_versioning Module

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

Bases: watcherclient.tests.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.common.test_api_versioning.GetAPIVersionTestCase(*args, **kwargs)[source]

Bases: watcherclient.tests.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]