Skip to content
Snippets Groups Projects
Commit ab34eabe authored by Ismail Moumni's avatar Ismail Moumni
Browse files

test

parent 874278eb
No related branches found
No related tags found
1 merge request!5Wip adding tests and json functions
Pipeline #698 passed with stage
in 13 seconds
......@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment