mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Most different snapshots first
This commit is contained in:
@@ -97,7 +97,7 @@ def pytest_sessionfinish(
|
||||
|
||||
if diffs:
|
||||
diff_sort_key = attrgetter("file_similarity")
|
||||
diffs = sorted(diffs, key=diff_sort_key)
|
||||
diffs = list(reversed(sorted(diffs, key=diff_sort_key)))
|
||||
|
||||
conftest_path = Path(__file__)
|
||||
snapshot_template_path = conftest_path.parent / "snapshot_report_template.jinja2"
|
||||
|
||||
Reference in New Issue
Block a user