Commit 22afc38d authored by Ismail Moumni's avatar Ismail Moumni
Browse files

edit

parent 701a3615
Pipeline #688 failed with stage
in 12 seconds
......@@ -4,8 +4,8 @@ import sys
import os
import pytest
import json
sys.path.append(os.path.realpath('../'))
from server import server as serv # noqa E402
sys.path.append(os.path.realpath('../softwares/'))
import server.server as serv # noqa E402
data_test1 = '{"parameters":""}'
......@@ -18,7 +18,7 @@ data_load2 = json.loads(data_test2)
def test_query_valid(data: dict):
var = serv.query_valid(data_load)
assert var
assert var is True
def test_bad_missing():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment