same as last commit
parent
b1579ae265
commit
51dcd6c184
|
@ -225,7 +225,8 @@ def test_filter_value_type_check():
|
||||||
|
|
||||||
with pytest.raises(TypeError) as excinfo:
|
with pytest.raises(TypeError) as excinfo:
|
||||||
Filter("type", "=", set([16, 23]))
|
Filter("type", "=", set([16, 23]))
|
||||||
assert "Filter value of '<type 'set'>' is not supported" in str(excinfo.value)
|
assert any([s in str(excinfo.value) for s in ["<type 'set'>", "'<class 'set'>'"]])
|
||||||
|
assert "is not supported. The type must be a Python immutable type or dictionary" in str(excinfo.value)
|
||||||
|
|
||||||
|
|
||||||
def test_filter_type_underscore_check():
|
def test_filter_type_underscore_check():
|
||||||
|
|
Loading…
Reference in New Issue