Skip to content

Commit a94e1d5

Browse files
authored
Merge pull request Webperf-se#420 from Webperf-se/html-debug
Bug - Html Test returned 5.0 in rating when cache was disabled
2 parents d5c376f + 2c40fcc commit a94e1d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/w3c_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def get_errors(test_type, params):
6969

7070
file_path = get_cache_path_for_file(url, True)
7171
if is_html:
72-
html_file_ending_fix = file_path.replace('.cache', '.cache.html')
72+
html_file_ending_fix = file_path.replace('.cache', '.cache.html').replace('.tmp', '.tmp.html')
7373
if has_cache_file(url, True, CACHE_TIME_DELTA) \
7474
and not os.path.exists(html_file_ending_fix):
7575
os.rename(file_path, html_file_ending_fix)

0 commit comments

Comments
 (0)