We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 301cae5 commit e7656d4Copy full SHA for e7656d4
tests/units/test_add.py
@@ -550,6 +550,15 @@ def mock_update_galaxy_dependency() -> None:
550
expected_file = tmp_path / expected_file_path
551
effective_file = FIXTURES_DIR / "collection" / "testorg" / "testcol" / expected_file_path
552
cmp_result = cmp(expected_file, effective_file, shallow=False)
553
+ if not cmp_result:
554
+ diff = subprocess.run(
555
+ f"diff -u {expected_file} {effective_file}",
556
+ shell=True,
557
+ capture_output=True,
558
+ text=True,
559
+ check=False,
560
+ )
561
+ assert False, f"Files are different:\n{diff.stdout}" # noqa: B011, PT015
562
assert cmp_result
563
564
# Test conflict handling
0 commit comments