File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 143143 )
144144)
145145
146- def host_is_at_ehn1 (hostname ):
147- return re .match (r"^(np02|np04)-srv-\d{3}$" , hostname ) or re .match (r"^(np02|np04)-srv-\d{3}.cern.ch$" , hostname )
148-
149146confgen_arguments = {
150147 "Local CRT Bern 1x1 Conf" : onebyone_local_crt_bern_conf ,
151148 "Local CRT Grenoble 1x1 Conf" : onebyone_local_crt_grenoble_conf ,
@@ -169,22 +166,10 @@ def test_nanorc_success(run_nanorc):
169166 print (current_test )
170167 print (banner_line )
171168
172- if not host_is_at_ehn1 (hostname ) and "EHN1" in current_test :
173- pytest .skip (
174- f"This computer ({ hostname } ) is not at EHN1, not running EHN1 sessions"
175- )
176-
177169 # Check that nanorc completed correctly
178170 assert run_nanorc .completed_process .returncode == 0
179171
180172def test_log_files (run_nanorc ):
181- current_test = os .environ .get ("PYTEST_CURRENT_TEST" )
182-
183- if not host_is_at_ehn1 (hostname ) and "EHN1" in current_test :
184- pytest .skip (
185- f"This computer ({ hostname } ) is not at EHN1, not running EHN1 sessions"
186- )
187-
188173 if check_for_logfile_errors :
189174 # Check that there are no warnings or errors in the log files
190175 assert log_file_checks .logs_are_error_free (
You can’t perform that action at this time.
0 commit comments