def test_invalid_freezable_name(): with pytest.raises(FreezableNameInvalidError): valid = "foobar." assert FreezableAPI.validate_freezable_name(valid) == valid
def test_valid_freezable_name(): valid = "foobar" assert FreezableAPI.validate_freezable_name(valid) == valid