Skip to content
GitLab
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
c0e60b93
Commit
c0e60b93
authored
Apr 20, 2018
by
Samuel GAIST
Browse files
[test][environment] Fix list comparison
parent
240d51f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/core/test/test_environments.py
View file @
c0e60b93
...
...
@@ -53,4 +53,5 @@ class EnvironmentTest(unittest.TestCase):
self
.
assertTrue
(
len
(
package_list
)
>
0
)
for
package
in
package_list
:
self
.
assertListEqual
(
package
.
keys
(),
[
'version'
,
'name'
])
self
.
assertListEqual
(
sorted
(
list
(
package
.
keys
())),
sorted
([
'version'
,
'name'
]))
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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