def test_validate_tag_raises(tag): with pytest.raises(YataiDeploymentException): validate_tag(None, None, tag)
def test_validate_tag(tag): # check to make sure tag is returned and nothing is raised assert validate_tag(None, None, tag) == tag
def test_validate_tag_raises(tag): with pytest.raises(YataiDeploymentException): validate_tag(None, None, tag)
def test_validate_tag(tag): # check to make sure tag is returned and nothing is raised assert validate_tag(None, None, tag) == tag