File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ def test_wrong_url_load_turbine_data(self):
102102 ):
103103 store_turbine_data_from_oedb ("wrong_schema" )
104104
105+ @pytest .mark .skip (reason = "Use it to check a persistent ssl error" )
105106 def test_wrong_ssl_connection (self ):
106107 """Test failing ssl connection. To avoid this error in data.py the in
107108 the function fetch_turbine_data_from_oedb in data.py verify was set
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ def fetch_turbine_data_from_oedb(
137137 url = oep_url + "/api/v0/schema/{}/tables/{}/rows/?" .format (schema , table )
138138
139139 # load data
140- result = requests .get (url , verify = False )
140+ result = requests .get (url , verify = True )
141141 if not result .status_code == 200 :
142142 raise ConnectionError (
143143 "Database (oep) connection not successful. \n URL: {2}\n "
You can’t perform that action at this time.
0 commit comments