Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rdos-python
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Julien David
rdos-python
Commits
ab34eabe
Commit
ab34eabe
authored
4 years ago
by
Ismail Moumni
Browse files
Options
Downloads
Patches
Plain Diff
test
parent
874278eb
No related branches found
Branches containing commit
No related tags found
1 merge request
!5
Wip adding tests and json functions
Pipeline
#698
passed with stage
in 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_match_query.py
+3
-3
3 additions, 3 deletions
tests/test_match_query.py
with
3 additions
and
3 deletions
tests/test_match_query.py
+
3
−
3
View file @
ab34eabe
...
...
@@ -11,15 +11,15 @@ data2 = {"id": "", "name": "", "state": "", "launch_date": "", "mdr_number": "",
def
test_match_query
():
var
=
client
.
RdosClient
.
match_query_dict
(
data1
,
data1
)
var
=
client
.
RdosClient
.
match_query_dict
(
client
,
data1
,
data1
)
assert
var
is
not
False
def
test_diff_match_query
():
result
=
client
.
RdosClient
.
match_query_dict
(
data1
,
data2
)
result
=
client
.
RdosClient
.
match_query_dict
(
client
,
data1
,
data2
)
assert
result
is
not
None
def
test_bad_match
():
with
pytest
.
raises
(
Exception
):
assert
client
.
RdosClient
.
match_query_dict
({},
data2
)
assert
client
.
RdosClient
.
match_query_dict
(
client
,
{},
data2
)
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