def test_check_release_cmp_success(self): ''' Test that an int is returned from the version compare ''' assert isinstance(salt_version._check_release_cmp('Oxygen'), int)
def test_check_release_cmp_success(): """ Test that an int is returned from the version compare """ assert isinstance(salt_version._check_release_cmp("Oxygen"), int)
def test_check_release_cmp_no_codename(self): ''' Test that None is returned when the codename isn't found. ''' assert salt_version._check_release_cmp('foo') is None
def test_check_release_cmp_no_codename(): """ Test that None is returned when the codename isn't found. """ assert salt_version._check_release_cmp("foo") is None