def test_validate_type_name_invalid(): with pytest.raises(WizardValidationError): validate_type_name("AWS-Color-Red")
def test_validate_type_name_valid(): assert validate_type_name("AWS::Color::Red") == "AWS::Color::Red"