Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.core
Commits
08bd88c1
Commit
08bd88c1
authored
Mar 14, 2019
by
Samuel GAIST
Browse files
[test][test_format_array] Code cleanup
parent
bd4578a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/core/test/test_format_array.py
View file @
08bd88c1
...
...
@@ -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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment