示例#1
0
def test_invalid_freezable_name():
    with pytest.raises(FreezableNameInvalidError):
        valid = "foobar."
        assert FreezableAPI.validate_freezable_name(valid) == valid
示例#2
0
def test_valid_freezable_name():
    valid = "foobar"
    assert FreezableAPI.validate_freezable_name(valid) == valid