@@ -42,7 +42,7 @@ def test_request_and_check(self):
4242 """Test request_and_check utils function."""
4343 url = f"{ ACTINIA_BASEURL } api/{ ACTINIA_VERSION } /version"
4444 resp = request_and_check (
45- "GET" , url , status_code = (200 ), ** {"auth" : ACTINIA_AUTH }
45+ "GET" , url , status_code = (200 , ), ** {"auth" : ACTINIA_AUTH }
4646 )
4747 assert "version" in resp
4848
@@ -51,7 +51,7 @@ def test_request_and_check_wrong_url(self):
5151 url = f"{ ACTINIA_BASEURL } api/{ ACTINIA_VERSION } /version_fail"
5252 err_msg = "The requested URL was not found on the server."
5353 with pytest .raises (Exception ) as excinfo :
54- request_and_check ("GET" , url , status_code = (200 ), ** {"auth" : ACTINIA_AUTH })
54+ request_and_check ("GET" , url , status_code = (200 , ), ** {"auth" : ACTINIA_AUTH })
5555 assert err_msg in str (excinfo .value )
5656
5757 def test_request_and_check_wrong_auth (self ):
@@ -60,7 +60,7 @@ def test_request_and_check_wrong_auth(self):
6060 err_msg = "Unauthorized Access"
6161 wrong_auth = ("actinia-gdi" , "wrong_pw" )
6262 with pytest .raises (Exception ) as excinfo :
63- request_and_check ("GET" , url , status_code = (200 ), ** {"auth" : wrong_auth })
63+ request_and_check ("GET" , url , status_code = (200 , ), ** {"auth" : wrong_auth })
6464 assert err_msg in str (excinfo .value )
6565
6666 def test_set_job_names (self ):
0 commit comments