@@ -94,7 +94,7 @@ def test_insert_https():
9494 domain_query = db .collection ("domains" ).find ({"domain" : "cyber.gc.ca" }, limit = 1 )
9595 domain = domain_query .next ()
9696 test_app = Server (
97- db_host = "http:// testdb:8529 " , db_name = "test" , db_user = "" , db_pass = ""
97+ db_host = "testdb" , db_name = "test" , db_user = "" , db_pass = "" , db_port = 8529
9898 )
9999 test_client = TestClient (test_app )
100100
@@ -121,7 +121,7 @@ def test_insert_ssl():
121121 domain_query = db .collection ("domains" ).find ({"domain" : "cyber.gc.ca" }, limit = 1 )
122122 domain = domain_query .next ()
123123 test_app = Server (
124- db_host = "http:// testdb:8529 " , db_name = "test" , db_user = "" , db_pass = ""
124+ db_host = "testdb" , db_name = "test" , db_user = "" , db_pass = "" , db_port = 8529
125125 )
126126 test_client = TestClient (test_app )
127127
@@ -148,7 +148,7 @@ def test_insert_dns():
148148 domain_query = db .collection ("domains" ).find ({"domain" : "cyber.gc.ca" }, limit = 1 )
149149 domain = domain_query .next ()
150150 test_app = Server (
151- db_host = "http:// testdb:8529 " , db_name = "test" , db_user = "" , db_pass = ""
151+ db_host = "testdb" , db_name = "test" , db_user = "" , db_pass = "" , db_port = 8529
152152 )
153153 test_client = TestClient (test_app )
154154
0 commit comments