@@ -160,25 +160,25 @@ def column_attrs():
160160
161161
162162def test_load_environments ():
163- tap = EuclidClass (environment = 'PDR' )
163+ tap = EuclidClass (environment = 'PDR' , show_server_messages = False )
164164
165165 assert tap is not None
166166
167- tap = EuclidClass (environment = 'IDR' )
167+ tap = EuclidClass (environment = 'IDR' , show_server_messages = False )
168168
169169 assert tap is not None
170170
171- tap = EuclidClass (environment = 'OTF' )
171+ tap = EuclidClass (environment = 'OTF' , show_server_messages = False )
172172
173173 assert tap is not None
174174
175- tap = EuclidClass (environment = 'REG' )
175+ tap = EuclidClass (environment = 'REG' , show_server_messages = False )
176176
177177 assert tap is not None
178178
179179 environment = 'WRONG'
180180 try :
181- tap = EuclidClass (environment = 'WRONG' )
181+ tap = EuclidClass (environment = 'WRONG' , show_server_messages = False )
182182 except Exception as e :
183183 assert str (e ).startswith (f"Invalid environment { environment } . Valid values: { list (conf .ENVIRONMENTS .keys ())} " )
184184
@@ -672,7 +672,7 @@ def test_get_product_list_by_tile_index():
672672
673673
674674def test_get_product_list_errors ():
675- tap = EuclidClass ()
675+ tap = EuclidClass (show_server_messages = False )
676676
677677 with pytest .raises (ValueError , match = "Missing required argument: 'product_type'" ):
678678 tap .get_product_list (observation_id = '13' , product_type = None )
@@ -1140,7 +1140,7 @@ def test_get_scientific_data_product_list():
11401140
11411141
11421142def test_get_scientific_data_product_list_exceptions ():
1143- eculid = EuclidClass ()
1143+ eculid = EuclidClass (show_server_messages = False )
11441144
11451145 with pytest .raises (ValueError , match = "Include a valid parameter to retrieve a LE3 product." ):
11461146 eculid .get_scientific_product_list (observation_id = None , tile_index = None , category = None , group = None ,
0 commit comments