Skip to content

Commit 420bd04

Browse files
committed
standardise things before wrapping lines to avoid spurious wraps
1 parent acafb61 commit 420bd04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/book_tester.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ def assert_console_output_correct(self, actual, expected, ls=False):
375375

376376
actual_fixed = standardise_library_paths(actual)
377377
actual_fixed = standardise_geckodriver_tracebacks(actual_fixed)
378-
actual_fixed = wrap_long_lines(actual_fixed)
378+
actual_fixed = standardize_layout_test_pixelsize(actual_fixed)
379379
actual_fixed = strip_test_speed(actual_fixed)
380380
actual_fixed = strip_js_test_speed(actual_fixed)
381381
actual_fixed = strip_bdd_test_speed(actual_fixed)
@@ -387,10 +387,10 @@ def assert_console_output_correct(self, actual, expected, ls=False):
387387
actual_fixed = strip_localhost_port(actual_fixed)
388388
actual_fixed = strip_screenshot_timestamps(actual_fixed)
389389
actual_fixed = fix_sqlite_messages(actual_fixed)
390-
actual_fixed = standardize_layout_test_pixelsize(actual_fixed)
391390
actual_fixed = fix_creating_database_line(actual_fixed)
392391
actual_fixed = fix_interactive_managepy_stuff(actual_fixed)
393392
actual_fixed = standardise_assertionerror_none(actual_fixed)
393+
actual_fixed = wrap_long_lines(actual_fixed)
394394

395395
expected_fixed = standardise_library_paths(expected)
396396
expected_fixed = standardise_geckodriver_tracebacks(expected_fixed)

0 commit comments

Comments
 (0)