Commit 08bd88c1 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][test_format_array] Code cleanup

parent bd4578a3
......@@ -43,5 +43,7 @@ from . import prefix
def test_array_of_arrays_does_not_validate():
df = DataFormat(prefix, "user/array_of_array/1") # not allowed
assert df.valid is False
assert df.errors[0].find("is not valid under any of the given schemas") != -1
nose.tools.assert_false(df.valid)
nose.tools.assert_not_equal(
df.errors[0].find("is not valid under any of the given schemas"), -1
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment