def test_test_tagname_invalid_when_contains_colon(): with pytest.raises(TagInvalidError): assert FreezableAPI.validate_tagname("test:test")
def test_test_tagname_invalid_when_none(): with pytest.raises(TagInvalidError): assert FreezableAPI.validate_tagname(None)