Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
beat
beat.web
Commits
8273c4f5
Commit
8273c4f5
authored
6 years ago
by
Samuel GAIST
Browse files
Options
Downloads
Patches
Plain Diff
[dataformats][tests][core] Fix key search in dictionary
parent
184c30f1
No related branches found
No related tags found
2 merge requests
!255
1.4.x
,
!242
Py3 compatibility
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
beat/web/dataformats/tests/core.py
+1
-1
1 addition, 1 deletion
beat/web/dataformats/tests/core.py
with
1 addition
and
1 deletion
beat/web/dataformats/tests/core.py
+
1
−
1
View file @
8273c4f5
...
...
@@ -260,7 +260,7 @@ class DataFormatSharingAPIBase(DataFormatsAPIBase):
self
.
assertEqual
(
len
(
sharing_preferences
.
keys
()),
len
(
reference
.
keys
()))
for
(
key
,
value
)
in
reference
.
items
():
self
.
assertTrue
(
sharing_preferences
.
has_key
(
key
)
)
self
.
assertTrue
(
key
in
sharing_preferences
)
if
isinstance
(
value
,
list
):
self
.
assertEqual
(
len
(
sharing_preferences
[
key
]),
len
(
value
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment