Commit 852c156a authored by Ismail Moumni's avatar Ismail Moumni
Browse files


parent 22afc38d
Pipeline #689 failed with stage
in 12 seconds
......@@ -5,10 +5,11 @@ import os
import pytest
import json
import server.server as serv # noqa E402
data_test1 = '{"parameters":""}'
data_test1 = '{"parameters":"request"}'
data_test2 = '{"Ref":"Parameters"}'
......@@ -3,7 +3,9 @@ import os
import sys
import database.database as db
import database.database as db # noqa E402
def test_empty_password():
print("Empty password test")
with pytest.raises(db.NoPasswordDefineError):
......@@ -11,8 +13,6 @@ def test_empty_password():
def test_unsecurred_password():
print("Unsecured password test")
print("Unsecured password test")
os.environ['rdos_secret'] = "test"
assert db.get_password() == "test"
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