@@ -41,15 +41,15 @@ class TestActiniaUtils(object):
4141 def test_request_and_check (self ):
4242 """Test request_and_check utils function."""
4343 url = f"{ ACTINIA_BASEURL } api/{ ACTINIA_VERSION } /version"
44- resp = request_and_check (url , ACTINIA_AUTH , status_code = 200 )
44+ resp = request_and_check ("GET" , url , ACTINIA_AUTH , status_code = 200 )
4545 assert "version" in resp
4646
4747 def test_request_and_check_wrong_url (self ):
4848 """Test request_and_check utils function with ."""
4949 url = f"{ ACTINIA_BASEURL } api/{ ACTINIA_VERSION } /version_fail"
5050 err_msg = "The requested URL was not found on the server."
5151 with pytest .raises (Exception ) as excinfo :
52- request_and_check (url , ACTINIA_AUTH , status_code = 200 )
52+ request_and_check ("GET" , url , ACTINIA_AUTH , status_code = 200 )
5353 assert err_msg in str (excinfo .value )
5454
5555 def test_request_and_check_wrong_auth (self ):
@@ -58,7 +58,7 @@ def test_request_and_check_wrong_auth(self):
5858 err_msg = "Unauthorized Access"
5959 wrong_auth = ("actinia-gdi" , "wrong_pw" )
6060 with pytest .raises (Exception ) as excinfo :
61- request_and_check (url , wrong_auth , status_code = 200 )
61+ request_and_check ("GET" , url , wrong_auth , status_code = 200 )
6262 assert err_msg in str (excinfo .value )
6363
6464 def test_set_job_names (self ):
0 commit comments