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