Fix: Properly update the verbosity in PDF comparator #96
Annotations
104 errors
|
TestEqualTrees.test_diff_tree:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_diff_tree0/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_diff_tree0/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_replace_pattern:
TestEqualTrees#L1
assert 2 == 1
+ where 2 = len({'file.csv': "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_replace_pattern0/ref/...t variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset ."})
|
|
TestDiffTrees.test_missing_column:
TestDiffTrees#L1
assert 2 == 1
+ where 2 = len({'file.csv': "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_missing_column0/ref/f...t variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset ."})
|
|
TestPdfComparator.test_diff_tempfile:
TestPdfComparator#L1
assert not "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_diff_tempfile0/ref/file.pdf' and '...nt variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset ."
|
|
TestEqualTrees.test_diff_tree:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_diff_tree3/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_diff_tree3/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_assert_equal_trees:
TestEqualTrees#L1
AssertionError: The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_assert_equal_trees0/ref/file.pdf' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_assert_equal_trees0/res/file.pdf' are different:
Exception raised: (Exception) Cannot find ImageMagick's compare program. Is ImageMagick installed? If so, you can try setting environment variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset .
|
|
TestEqualTrees.test_assert_equal_trees_export:
TestEqualTrees#L1
AssertionError: The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_assert_equal_trees_export0/ref/file.pdf' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_assert_equal_trees_export0/res/file.pdf' are different:
Exception raised: (Exception) Cannot find ImageMagick's compare program. Is ImageMagick installed? If so, you can try setting environment variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset .
|
|
TestEqualTrees.test_unknown_comparator:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_unknown_comparator0/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_unknown_comparator0/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_nested_files:
TestEqualTrees#L1
assert {'level1/leve...tly: unset ."} == {}
Left contains 1 more item:
{'level1/level2/level3/file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_nested_files0/ref/level1/level2/level3/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_nested_files0/res/level1/level2/level3/file.pdf' "
'are different:\n'...
...Full output truncated (8 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_specific_args:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_specific_args1/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_specific_args1/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_specific_comparator:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_specific_comparator0/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_specific_comparator0/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_specific_patterns:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_specific_patterns0/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_specific_patterns0/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestDiffTrees.test_diff_tree:
TestDiffTrees#L1
assert None is not None
|
|
TestDiffTrees.test_assert_equal_trees:
TestDiffTrees#L1
AssertionError: Regex pattern did not match.
Regex: 'The files \'\\S*\' and \'\\S*\' are different:\\nAdded the value\\(s\\) \'{"__dict_key_2__": \\[1, 2, 3\\], "__dict_key_3__": \\[1, 2, 3\\], "__dict_key_4__": \\[1, 2, 3\\]}\' in the \'\\[simple_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nAdded the value\\(s\\) \'{"simple_list_test": \\[\\["dict_key_1", \\[1, 4, 3\\]\\], \\["__dict_key_2__", \\[1, 2, 3\\]\\]\\]}\' in the \'\' key\\.\\nChanged the value of \'\\[int_value\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_dict\\]\\[dict_key\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[0\\]\' from \'nested_list_val\' to \'__nested_list_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_dict_key_1\\]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[simple_dict\\]\\[dict_key_1\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[simple_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[simple_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[simple_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nRemoved the value\\(s\\) \'{"dict_key_2": \\[1, 2, 3\\]}\' from \'\\[simple_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key": "nested_dict_val"}\' from \'\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_test": 0}\' from \'\' key\\.\\n\\n\\nThe files \'\\S*/file.pdf\' and \'\\S*/file.pdf\' are different\\:\\n(Kwargs used for computing differences: {\'verbosity\': 0}\\n)?The following pages are the most different: 1\\n\\n\\nThe files \'\\S*\' and \'\\S*\' are different:\\nAdded the value\\(s\\) \'{"__dict_key_2__": \\[1, 2, 3\\], "__dict_key_3__": \\[1, 2, 3\\], "__dict_key_4__": \\[1, 2, 3\\]}\' in the \'\\[root\\]\\[simple_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nAdded the value\\(s\\) \'{"simple_list_test": \\[\\["dict_key_1", \\[1, 4, 3\\]\\], \\["__dict_key_2__", \\[1, 2, 3\\]\\]\\]}\' in the \'\\[root\\]\' key\\.\\nChanged the value of \'\\[root\\]\\[int_value\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[nested_dict\\]\\[dict_key\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[0\\]\' from \'nested_list_val\' to \'__nested_list_val__\'\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_dict_key_1\\]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[root\\]\\[simple_dict\\]\\[dict_key_1\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[root\\]\\[simple_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[simple_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[root\\]\\[simple_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nRemoved the value\\(s\\) \'{"dict_key_2": \\[1, 2, 3\\]}\' from \'\\[root\\]\\[simple_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key": "nested_dict_val"}\' from \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_test": 0}\' from \'\\[root\\]\' key\\.\\n\\n\\nThe files \'\\S*\' and \'\\S*\' are different:\\nAdded the value\\(s\\) \'{"__dict_key_2__": \\[1, 2, 3\\], "__dict_key_3__": \\[1, 2, 3\\], "__dict_key_4__": \\[1, 2, 3\\]}\' in the \'\\[simple_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nAdded the value\\(s\\) \'{"simple_list_test": \\[\\["dict_key_1", \\[1, 4, 3\\]\\], \\["__dict_key_2__", \\[1, 2, 3\\]\\]\\]}\' in the \'\' key\\.\\nChanged the value of \'\\[int_value\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_dict\\]\\[dict_key\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[0\\]\' from \'nested_list_val\' to \'__nested_list_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_dict_key_1\\]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[simple_dict\\]\\[dict_key_1\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[simple_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[simple_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[simple_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nRemoved the value\\(s\\) \'{"dict_key_2": \\[1, 2, 3\\]}\' from \'\\[simple_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key": "nested_dict_val"}\' from \'\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_test": 0}\' from \'\' key\\.'
Input: 'The files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_assert_equal_trees1/ref/file.ini\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_assert_equal_trees1/res/file.ini\' are different:\nChanged the value of \'[section1][attr1]\' from \'val1\' to \'val2\'.\nChanged the value of \'[section1][attr2]\' from 1 to 2.\nChanged the value of \'[section2][attr3][1]\' from 2 to 3.\nChanged the value of \'[section2][attr3][3]\' from \'b\' to \'c\'.\nChanged the value of \'[section2][attr4][a]\' from 1 to 4.\nChanged the value of \'[section2][attr4][b][1]\' from 2 to 3.\n\n\nThe files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_assert_equal_trees1/ref/file.json\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_assert_equal_trees1/res/file.json\' are different:\nAdded the value(s) \'{"__dict_key_2__": [1, 2, 3], "__dict_key_3__": [1, 2, 3], "__dict_key_4__": [1, 2, 3]}\' in the \'[simple_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'[nested_dict][sub_nested_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'[nested_list][3][1]\' key.\nAdded the value(s) \'{"simple_list_test": [["dict_key_1", [1, 4, 3]], ["__dict_key_2__", [1, 2, 3]]]}\' in the \'\' key.\nChanged the value of \'[int_value]\' from 1 to 2.\nChanged the value of \'[nested_dict][dict_key][1]\' from 2 to 4.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[nested_list][0]\' from 1 to 2.\nChanged the value of \'[nested_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_list][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[nested_list][3][0]\' from \'nested_list_val\' to \'__nested_list_val__\'.\nChanged the value of \'[nested_list][3][1][nested_dict_key_1]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'.\nChanged the value of \'[nested_list][3][1][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[nested_list][3][1][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_list][3][1][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[simple_dict][dict_key_1][1]\' from 2 to 4.\nChanged the value of \'[simple_list][0]\' from 1 to 2.\nChanged the value of \'[simple_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[simple_list][2]\' from \'str_val\' to \'__str_val__\'.\nRemoved the value(s) \'{"dict_key_2": [1, 2, 3]}\' from \'[simple_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key": "nested_dict_val"}\' from \'[nested_dict][sub_nested_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'[nested_list][3][1]\' key.\nRemoved the value(s) \'{"nested_dict_test": 0}\' from \'\' key.\n\n\nThe files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_assert_equal_trees1/ref/file.pdf\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_assert_equal_trees1/res/file.pdf\' are different:\nException raised: (Exception) Cannot find ImageMagick\'s compare program. Is ImageMagick installed? If so, you can try setting environment variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset .\n\n\nThe files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_assert_equal_trees1/ref/file.xml\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_assert_equal_trees1/res/file.xml\' are different:\nAdded the value(s) \'{"__dict_key_2__": [1, 2, 3], "__dict_key_3__": [1, 2, 3], "__dict_key_4__": [1, 2, 3]}\' in the \'[root][simple_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'[root][nested_dict][sub_nested_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'[root][nested_list][3][1]\' key.\nAdded the value(s) \'{"simple_list_test": [["dict_key_1", [1, 4, 3]], ["__dict_key_2__", [1, 2, 3]]]}\' in the \'[root]\' key.\nChanged the value of \'[root][int_value]\' from 1 to 2.\nChanged the value of \'[root][nested_dict][dict_key][1]\' from 2 to 4.\nChanged the value of \'[root][nested_dict][sub_nested_dict][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[root][nested_dict][sub_nested_dict][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[root][nested_dict][sub_nested_dict][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[root][nested_list][0]\' from 1 to 2.\nChanged the value of \'[root][nested_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[root][nested_list][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[root][nested_list][3][0]\' from \'nested_list_val\' to \'__nested_list_val__\'.\nChanged the value of \'[root][nested_list][3][1][nested_dict_key_1]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'.\nChanged the value of \'[root][nested_list][3][1][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[root][nested_list][3][1][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[root][nested_list][3][1][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[root][simple_dict][dict_key_1][1]\' from 2 to 4.\nChanged the value of \'[root][simple_list][0]\' from 1 to 2.\nChanged the value of \'[root][simple_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[root][simple_list][2]\' from \'str_val\' to \'__str_val__\'.\nRemoved the value(s) \'{"dict_key_2": [1, 2, 3]}\' from \'[root][simple_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key": "nested_dict_val"}\' from \'[root][nested_dict][sub_nested_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'[root][nested_list][3][1]\' key.\nRemoved the value(s) \'{"nested_dict_test": 0}\' from \'[root]\' key.\n\n\nThe files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_assert_equal_trees1/ref/file.yaml\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_assert_equal_trees1/res/file.yaml\' are different:\nAdded the value(s) \'{"__dict_key_2__": [1, 2, 3], "__dict_key_3__": [1, 2, 3], "__dict_key_4__": [1, 2, 3]}\' in the \'[simple_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'[nested_dict][sub_nested_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'[nested_list][3][1]\' key.\nAdded the value(s) \'{"simple_list_test": [["dict_key_1", [1, 4, 3]], ["__dict_key_2__", [1, 2, 3]]]}\' in the \'\' key.\nChanged the value of \'[int_value]\' from 1 to 2.\nChanged the value of \'[nested_dict][dict_key][1]\' from 2 to 4.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[nested_list][0]\' from 1 to 2.\nChanged the value of \'[nested_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_list][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[nested_list][3][0]\' from \'nested_list_val\' to \'__nested_list_val__\'.\nChanged the value of \'[nested_list][3][1][nested_dict_key_1]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'.\nChanged the value of \'[nested_list][3][1][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[nested_list][3][1][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_list][3][1][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[simple_dict][dict_key_1][1]\' from 2 to 4.\nChanged the value of \'[simple_list][0]\' from 1 to 2.\nChanged the value of \'[simple_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[simple_list][2]\' from \'str_val\' to \'__str_val__\'.\nRemoved the value(s) \'{"dict_key_2": [1, 2, 3]}\' from \'[simple_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key": "nested_dict_val"}\' from \'[nested_dict][sub_nested_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'[nested_list][3][1]\' key.\nRemoved the value(s) \'{"nested_dict_test": 0}\' from \'\' key.'
|
|
TestDiffTrees.test_exception_in_comparator:
TestDiffTrees#L1
assert 2 == 1
+ where 2 = len({'file.pdf': "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_exception_in_comparat...312/tmp/test_exception_in_comparator0/res/file.yaml' are different:\nException raised: (RuntimeError) Bad\ncomparator"})
|
|
TestDiffTrees.test_specific_args:
TestDiffTrees#L1
assert 5 == 4
+ where 5 = len({'file.ini': "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_specific_args2/ref/fi...' from \'[root][nested_list][3][1]\' key.\nRemoved the value(s) \'{"nested_dict_test": 0}\' from \'[root]\' key.', ...})
|
|
TestDiffTrees.test_nested_files:
TestDiffTrees#L1
assert None is not None
|
|
TestDiffTrees.test_fix_dot_notation:
TestDiffTrees#L1
assert None is not None
|
|
TestCli.test_equal_tree[config_tree_json-config_file_json]:
TestCli#L1
assert ['Differences...tly: unset .'] == ["No differen...ree_js0/res'"]
At index 0 diff: "Differences found between '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_equal_tree_config_tree_js0/ref' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_equal_tree_config_tree_js0/res':\n\n\nThe files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_equal_tree_config_tree_js0/ref/file.pdf' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_equal_tree_config_tree_js0/res/file.pdf' are different:\nKwargs used for computing differences: {'tempdir': '/h...
...Full output truncated (2 lines hidden), use '-vv' to show
|
|
TestCli.test_equal_tree[config_tree_yaml-config_file_yaml]:
TestCli#L1
assert ['Differences...tly: unset .'] == ["No differen...ree_ya0/res'"]
At index 0 diff: "Differences found between '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_equal_tree_config_tree_ya0/ref' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_equal_tree_config_tree_ya0/res':\n\n\nThe files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_equal_tree_config_tree_ya0/ref/file.pdf' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_equal_tree_config_tree_ya0/res/file.pdf' are different:\nKwargs used for computing differences: {'tempdir': '/h...
...Full output truncated (2 lines hidden), use '-vv' to show
|
|
TestCli.test_diff_tree[config_tree_json-config_file_json]:
TestCli#L1
AssertionError: assert False
+ where False = exists()
+ where exists = (((PosixPath('/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_diff_tree_config_tree_jso0') / 'diff-pdf') / 'file.pdf') / 'diff-1.png').exists
|
|
TestCli.test_diff_tree[config_tree_yaml-config_file_yaml]:
TestCli#L1
AssertionError: assert False
+ where False = exists()
+ where exists = (((PosixPath('/home/runner/work/dir-content-diff/dir-content-diff/.tox/py312/tmp/test_diff_tree_config_tree_yam0') / 'diff-pdf') / 'file.pdf') / 'diff-1.png').exists
|
|
test_pytest_plugin.test_export_formatted_data[False-None]:
tests/test_pytest_plugin.py#L129
AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 0,...pped': 0, ...}
Omitting 4 identical items, use -vv to show
Differing items:
{'failed': 3} != {'failed': 0}
{'passed': 0} != {'passed': 3}
Use -v to get more diff
|
|
test_pytest_plugin.test_export_formatted_data[False-_CMD_SUFFIX]:
tests/test_pytest_plugin.py#L129
AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 0,...pped': 0, ...}
Omitting 4 identical items, use -vv to show
Differing items:
{'failed': 3} != {'failed': 0}
{'passed': 0} != {'passed': 3}
Use -v to get more diff
|
|
test_pytest_plugin.test_export_formatted_data[True-None]:
tests/test_pytest_plugin.py#L129
AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 0,...pped': 0, ...}
Omitting 4 identical items, use -vv to show
Differing items:
{'failed': 3} != {'failed': 0}
{'passed': 0} != {'passed': 3}
Use -v to get more diff
|
|
test_pytest_plugin.test_export_formatted_data[True-_CMD_SUFFIX]:
tests/test_pytest_plugin.py#L129
AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 0,...pped': 0, ...}
Omitting 4 identical items, use -vv to show
Differing items:
{'failed': 3} != {'failed': 0}
{'passed': 0} != {'passed': 3}
Use -v to get more diff
|
|
TestEqualTrees.test_diff_tree:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_diff_tree0/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_diff_tree0/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_replace_pattern:
TestEqualTrees#L1
assert 2 == 1
+ where 2 = len({'file.csv': "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_replace_pattern0/ref/...t variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset ."})
|
|
TestDiffTrees.test_missing_column:
TestDiffTrees#L1
assert 2 == 1
+ where 2 = len({'file.csv': "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_missing_column0/ref/f...t variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset ."})
|
|
TestPdfComparator.test_diff_tempfile:
TestPdfComparator#L1
assert not "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_diff_tempfile0/ref/file.pdf' and '...nt variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset ."
|
|
TestEqualTrees.test_diff_tree:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_diff_tree3/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_diff_tree3/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_assert_equal_trees:
TestEqualTrees#L1
AssertionError: The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_assert_equal_trees0/ref/file.pdf' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_assert_equal_trees0/res/file.pdf' are different:
Exception raised: (Exception) Cannot find ImageMagick's compare program. Is ImageMagick installed? If so, you can try setting environment variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset .
|
|
TestEqualTrees.test_assert_equal_trees_export:
TestEqualTrees#L1
AssertionError: The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_assert_equal_trees_export0/ref/file.pdf' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_assert_equal_trees_export0/res/file.pdf' are different:
Exception raised: (Exception) Cannot find ImageMagick's compare program. Is ImageMagick installed? If so, you can try setting environment variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset .
|
|
TestEqualTrees.test_unknown_comparator:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_unknown_comparator0/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_unknown_comparator0/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_nested_files:
TestEqualTrees#L1
assert {'level1/leve...tly: unset ."} == {}
Left contains 1 more item:
{'level1/level2/level3/file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_nested_files0/ref/level1/level2/level3/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_nested_files0/res/level1/level2/level3/file.pdf' "
'are different:\n'...
...Full output truncated (8 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_specific_args:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_specific_args1/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_specific_args1/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_specific_comparator:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_specific_comparator0/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_specific_comparator0/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_specific_patterns:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_specific_patterns0/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_specific_patterns0/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestDiffTrees.test_diff_tree:
TestDiffTrees#L1
assert None is not None
|
|
TestDiffTrees.test_assert_equal_trees:
TestDiffTrees#L1
AssertionError: Regex pattern did not match.
Regex: 'The files \'\\S*\' and \'\\S*\' are different:\\nAdded the value\\(s\\) \'{"__dict_key_2__": \\[1, 2, 3\\], "__dict_key_3__": \\[1, 2, 3\\], "__dict_key_4__": \\[1, 2, 3\\]}\' in the \'\\[simple_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nAdded the value\\(s\\) \'{"simple_list_test": \\[\\["dict_key_1", \\[1, 4, 3\\]\\], \\["__dict_key_2__", \\[1, 2, 3\\]\\]\\]}\' in the \'\' key\\.\\nChanged the value of \'\\[int_value\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_dict\\]\\[dict_key\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[0\\]\' from \'nested_list_val\' to \'__nested_list_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_dict_key_1\\]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[simple_dict\\]\\[dict_key_1\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[simple_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[simple_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[simple_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nRemoved the value\\(s\\) \'{"dict_key_2": \\[1, 2, 3\\]}\' from \'\\[simple_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key": "nested_dict_val"}\' from \'\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_test": 0}\' from \'\' key\\.\\n\\n\\nThe files \'\\S*/file.pdf\' and \'\\S*/file.pdf\' are different\\:\\n(Kwargs used for computing differences: {\'verbosity\': 0}\\n)?The following pages are the most different: 1\\n\\n\\nThe files \'\\S*\' and \'\\S*\' are different:\\nAdded the value\\(s\\) \'{"__dict_key_2__": \\[1, 2, 3\\], "__dict_key_3__": \\[1, 2, 3\\], "__dict_key_4__": \\[1, 2, 3\\]}\' in the \'\\[root\\]\\[simple_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nAdded the value\\(s\\) \'{"simple_list_test": \\[\\["dict_key_1", \\[1, 4, 3\\]\\], \\["__dict_key_2__", \\[1, 2, 3\\]\\]\\]}\' in the \'\\[root\\]\' key\\.\\nChanged the value of \'\\[root\\]\\[int_value\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[nested_dict\\]\\[dict_key\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[0\\]\' from \'nested_list_val\' to \'__nested_list_val__\'\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_dict_key_1\\]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[root\\]\\[simple_dict\\]\\[dict_key_1\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[root\\]\\[simple_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[simple_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[root\\]\\[simple_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nRemoved the value\\(s\\) \'{"dict_key_2": \\[1, 2, 3\\]}\' from \'\\[root\\]\\[simple_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key": "nested_dict_val"}\' from \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_test": 0}\' from \'\\[root\\]\' key\\.\\n\\n\\nThe files \'\\S*\' and \'\\S*\' are different:\\nAdded the value\\(s\\) \'{"__dict_key_2__": \\[1, 2, 3\\], "__dict_key_3__": \\[1, 2, 3\\], "__dict_key_4__": \\[1, 2, 3\\]}\' in the \'\\[simple_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nAdded the value\\(s\\) \'{"simple_list_test": \\[\\["dict_key_1", \\[1, 4, 3\\]\\], \\["__dict_key_2__", \\[1, 2, 3\\]\\]\\]}\' in the \'\' key\\.\\nChanged the value of \'\\[int_value\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_dict\\]\\[dict_key\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[0\\]\' from \'nested_list_val\' to \'__nested_list_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_dict_key_1\\]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[simple_dict\\]\\[dict_key_1\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[simple_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[simple_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[simple_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nRemoved the value\\(s\\) \'{"dict_key_2": \\[1, 2, 3\\]}\' from \'\\[simple_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key": "nested_dict_val"}\' from \'\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_test": 0}\' from \'\' key\\.'
Input: 'The files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_assert_equal_trees1/ref/file.ini\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_assert_equal_trees1/res/file.ini\' are different:\nChanged the value of \'[section1][attr1]\' from \'val1\' to \'val2\'.\nChanged the value of \'[section1][attr2]\' from 1 to 2.\nChanged the value of \'[section2][attr3][1]\' from 2 to 3.\nChanged the value of \'[section2][attr3][3]\' from \'b\' to \'c\'.\nChanged the value of \'[section2][attr4][a]\' from 1 to 4.\nChanged the value of \'[section2][attr4][b][1]\' from 2 to 3.\n\n\nThe files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_assert_equal_trees1/ref/file.json\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_assert_equal_trees1/res/file.json\' are different:\nAdded the value(s) \'{"__dict_key_2__": [1, 2, 3], "__dict_key_3__": [1, 2, 3], "__dict_key_4__": [1, 2, 3]}\' in the \'[simple_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'[nested_dict][sub_nested_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'[nested_list][3][1]\' key.\nAdded the value(s) \'{"simple_list_test": [["dict_key_1", [1, 4, 3]], ["__dict_key_2__", [1, 2, 3]]]}\' in the \'\' key.\nChanged the value of \'[int_value]\' from 1 to 2.\nChanged the value of \'[nested_dict][dict_key][1]\' from 2 to 4.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[nested_list][0]\' from 1 to 2.\nChanged the value of \'[nested_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_list][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[nested_list][3][0]\' from \'nested_list_val\' to \'__nested_list_val__\'.\nChanged the value of \'[nested_list][3][1][nested_dict_key_1]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'.\nChanged the value of \'[nested_list][3][1][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[nested_list][3][1][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_list][3][1][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[simple_dict][dict_key_1][1]\' from 2 to 4.\nChanged the value of \'[simple_list][0]\' from 1 to 2.\nChanged the value of \'[simple_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[simple_list][2]\' from \'str_val\' to \'__str_val__\'.\nRemoved the value(s) \'{"dict_key_2": [1, 2, 3]}\' from \'[simple_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key": "nested_dict_val"}\' from \'[nested_dict][sub_nested_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'[nested_list][3][1]\' key.\nRemoved the value(s) \'{"nested_dict_test": 0}\' from \'\' key.\n\n\nThe files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_assert_equal_trees1/ref/file.pdf\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_assert_equal_trees1/res/file.pdf\' are different:\nException raised: (Exception) Cannot find ImageMagick\'s compare program. Is ImageMagick installed? If so, you can try setting environment variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset .\n\n\nThe files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_assert_equal_trees1/ref/file.xml\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_assert_equal_trees1/res/file.xml\' are different:\nAdded the value(s) \'{"__dict_key_2__": [1, 2, 3], "__dict_key_3__": [1, 2, 3], "__dict_key_4__": [1, 2, 3]}\' in the \'[root][simple_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'[root][nested_dict][sub_nested_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'[root][nested_list][3][1]\' key.\nAdded the value(s) \'{"simple_list_test": [["dict_key_1", [1, 4, 3]], ["__dict_key_2__", [1, 2, 3]]]}\' in the \'[root]\' key.\nChanged the value of \'[root][int_value]\' from 1 to 2.\nChanged the value of \'[root][nested_dict][dict_key][1]\' from 2 to 4.\nChanged the value of \'[root][nested_dict][sub_nested_dict][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[root][nested_dict][sub_nested_dict][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[root][nested_dict][sub_nested_dict][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[root][nested_list][0]\' from 1 to 2.\nChanged the value of \'[root][nested_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[root][nested_list][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[root][nested_list][3][0]\' from \'nested_list_val\' to \'__nested_list_val__\'.\nChanged the value of \'[root][nested_list][3][1][nested_dict_key_1]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'.\nChanged the value of \'[root][nested_list][3][1][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[root][nested_list][3][1][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[root][nested_list][3][1][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[root][simple_dict][dict_key_1][1]\' from 2 to 4.\nChanged the value of \'[root][simple_list][0]\' from 1 to 2.\nChanged the value of \'[root][simple_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[root][simple_list][2]\' from \'str_val\' to \'__str_val__\'.\nRemoved the value(s) \'{"dict_key_2": [1, 2, 3]}\' from \'[root][simple_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key": "nested_dict_val"}\' from \'[root][nested_dict][sub_nested_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'[root][nested_list][3][1]\' key.\nRemoved the value(s) \'{"nested_dict_test": 0}\' from \'[root]\' key.\n\n\nThe files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_assert_equal_trees1/ref/file.yaml\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_assert_equal_trees1/res/file.yaml\' are different:\nAdded the value(s) \'{"__dict_key_2__": [1, 2, 3], "__dict_key_3__": [1, 2, 3], "__dict_key_4__": [1, 2, 3]}\' in the \'[simple_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'[nested_dict][sub_nested_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'[nested_list][3][1]\' key.\nAdded the value(s) \'{"simple_list_test": [["dict_key_1", [1, 4, 3]], ["__dict_key_2__", [1, 2, 3]]]}\' in the \'\' key.\nChanged the value of \'[int_value]\' from 1 to 2.\nChanged the value of \'[nested_dict][dict_key][1]\' from 2 to 4.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[nested_list][0]\' from 1 to 2.\nChanged the value of \'[nested_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_list][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[nested_list][3][0]\' from \'nested_list_val\' to \'__nested_list_val__\'.\nChanged the value of \'[nested_list][3][1][nested_dict_key_1]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'.\nChanged the value of \'[nested_list][3][1][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[nested_list][3][1][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_list][3][1][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[simple_dict][dict_key_1][1]\' from 2 to 4.\nChanged the value of \'[simple_list][0]\' from 1 to 2.\nChanged the value of \'[simple_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[simple_list][2]\' from \'str_val\' to \'__str_val__\'.\nRemoved the value(s) \'{"dict_key_2": [1, 2, 3]}\' from \'[simple_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key": "nested_dict_val"}\' from \'[nested_dict][sub_nested_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'[nested_list][3][1]\' key.\nRemoved the value(s) \'{"nested_dict_test": 0}\' from \'\' key.'
|
|
TestDiffTrees.test_exception_in_comparator:
TestDiffTrees#L1
assert 2 == 1
+ where 2 = len({'file.pdf': "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_exception_in_comparat...310/tmp/test_exception_in_comparator0/res/file.yaml' are different:\nException raised: (RuntimeError) Bad\ncomparator"})
|
|
TestDiffTrees.test_specific_args:
TestDiffTrees#L1
assert 5 == 4
+ where 5 = len({'file.ini': "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_specific_args2/ref/fi...' from \'[root][nested_list][3][1]\' key.\nRemoved the value(s) \'{"nested_dict_test": 0}\' from \'[root]\' key.', ...})
|
|
TestDiffTrees.test_nested_files:
TestDiffTrees#L1
assert None is not None
|
|
TestDiffTrees.test_fix_dot_notation:
TestDiffTrees#L1
assert None is not None
|
|
TestCli.test_equal_tree[config_tree_json-config_file_json]:
TestCli#L1
assert ['Differences...tly: unset .'] == ["No differen...ree_js0/res'"]
At index 0 diff: "Differences found between '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_equal_tree_config_tree_js0/ref' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_equal_tree_config_tree_js0/res':\n\n\nThe files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_equal_tree_config_tree_js0/ref/file.pdf' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_equal_tree_config_tree_js0/res/file.pdf' are different:\nKwargs used for computing differences: {'tempdir': '/h...
...Full output truncated (2 lines hidden), use '-vv' to show
|
|
TestCli.test_equal_tree[config_tree_yaml-config_file_yaml]:
TestCli#L1
assert ['Differences...tly: unset .'] == ["No differen...ree_ya0/res'"]
At index 0 diff: "Differences found between '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_equal_tree_config_tree_ya0/ref' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_equal_tree_config_tree_ya0/res':\n\n\nThe files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_equal_tree_config_tree_ya0/ref/file.pdf' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_equal_tree_config_tree_ya0/res/file.pdf' are different:\nKwargs used for computing differences: {'tempdir': '/h...
...Full output truncated (2 lines hidden), use '-vv' to show
|
|
TestCli.test_diff_tree[config_tree_json-config_file_json]:
TestCli#L1
AssertionError: assert False
+ where False = exists()
+ where exists = (((PosixPath('/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_diff_tree_config_tree_jso0') / 'diff-pdf') / 'file.pdf') / 'diff-1.png').exists
|
|
TestCli.test_diff_tree[config_tree_yaml-config_file_yaml]:
TestCli#L1
AssertionError: assert False
+ where False = exists()
+ where exists = (((PosixPath('/home/runner/work/dir-content-diff/dir-content-diff/.tox/py310/tmp/test_diff_tree_config_tree_yam0') / 'diff-pdf') / 'file.pdf') / 'diff-1.png').exists
|
|
test_pytest_plugin.test_export_formatted_data[False-None]:
tests/test_pytest_plugin.py#L129
AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 0,...pped': 0, ...}
Omitting 4 identical items, use -vv to show
Differing items:
{'failed': 3} != {'failed': 0}
{'passed': 0} != {'passed': 3}
Use -v to get more diff
|
|
test_pytest_plugin.test_export_formatted_data[False-_CMD_SUFFIX]:
tests/test_pytest_plugin.py#L129
AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 0,...pped': 0, ...}
Omitting 4 identical items, use -vv to show
Differing items:
{'failed': 3} != {'failed': 0}
{'passed': 0} != {'passed': 3}
Use -v to get more diff
|
|
test_pytest_plugin.test_export_formatted_data[True-None]:
tests/test_pytest_plugin.py#L129
AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 0,...pped': 0, ...}
Omitting 4 identical items, use -vv to show
Differing items:
{'failed': 3} != {'failed': 0}
{'passed': 0} != {'passed': 3}
Use -v to get more diff
|
|
test_pytest_plugin.test_export_formatted_data[True-_CMD_SUFFIX]:
tests/test_pytest_plugin.py#L129
AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 0,...pped': 0, ...}
Omitting 4 identical items, use -vv to show
Differing items:
{'failed': 3} != {'failed': 0}
{'passed': 0} != {'passed': 3}
Use -v to get more diff
|
|
TestEqualTrees.test_diff_tree:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_diff_tree0/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_diff_tree0/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_replace_pattern:
TestEqualTrees#L1
assert 2 == 1
+ where 2 = len({'file.csv': "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_replace_pattern0/ref/...t variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset ."})
|
|
TestDiffTrees.test_missing_column:
TestDiffTrees#L1
assert 2 == 1
+ where 2 = len({'file.csv': "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_missing_column0/ref/f...t variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset ."})
|
|
TestPdfComparator.test_diff_tempfile:
TestPdfComparator#L1
assert not "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_diff_tempfile0/ref/file.pdf' and '...nt variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset ."
|
|
TestEqualTrees.test_diff_tree:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_diff_tree3/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_diff_tree3/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_assert_equal_trees:
TestEqualTrees#L1
AssertionError: The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_assert_equal_trees0/ref/file.pdf' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_assert_equal_trees0/res/file.pdf' are different:
Exception raised: (Exception) Cannot find ImageMagick's compare program. Is ImageMagick installed? If so, you can try setting environment variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset .
|
|
TestEqualTrees.test_assert_equal_trees_export:
TestEqualTrees#L1
AssertionError: The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_assert_equal_trees_export0/ref/file.pdf' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_assert_equal_trees_export0/res/file.pdf' are different:
Exception raised: (Exception) Cannot find ImageMagick's compare program. Is ImageMagick installed? If so, you can try setting environment variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset .
|
|
TestEqualTrees.test_unknown_comparator:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_unknown_comparator0/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_unknown_comparator0/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_nested_files:
TestEqualTrees#L1
assert {'level1/leve...tly: unset ."} == {}
Left contains 1 more item:
{'level1/level2/level3/file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_nested_files0/ref/level1/level2/level3/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_nested_files0/res/level1/level2/level3/file.pdf' "
'are different:\n'...
...Full output truncated (8 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_specific_args:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_specific_args1/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_specific_args1/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_specific_comparator:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_specific_comparator0/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_specific_comparator0/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_specific_patterns:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_specific_patterns0/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_specific_patterns0/res/file.pdf' "
'are different:\n'...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestDiffTrees.test_diff_tree:
TestDiffTrees#L1
assert None is not None
|
|
TestDiffTrees.test_assert_equal_trees:
TestDiffTrees#L1
AssertionError: Regex pattern did not match.
Regex: 'The files \'\\S*\' and \'\\S*\' are different:\\nAdded the value\\(s\\) \'{"__dict_key_2__": \\[1, 2, 3\\], "__dict_key_3__": \\[1, 2, 3\\], "__dict_key_4__": \\[1, 2, 3\\]}\' in the \'\\[simple_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nAdded the value\\(s\\) \'{"simple_list_test": \\[\\["dict_key_1", \\[1, 4, 3\\]\\], \\["__dict_key_2__", \\[1, 2, 3\\]\\]\\]}\' in the \'\' key\\.\\nChanged the value of \'\\[int_value\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_dict\\]\\[dict_key\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[0\\]\' from \'nested_list_val\' to \'__nested_list_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_dict_key_1\\]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[simple_dict\\]\\[dict_key_1\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[simple_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[simple_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[simple_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nRemoved the value\\(s\\) \'{"dict_key_2": \\[1, 2, 3\\]}\' from \'\\[simple_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key": "nested_dict_val"}\' from \'\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_test": 0}\' from \'\' key\\.\\n\\n\\nThe files \'\\S*/file.pdf\' and \'\\S*/file.pdf\' are different\\:\\n(Kwargs used for computing differences: {\'verbosity\': 0}\\n)?The following pages are the most different: 1\\n\\n\\nThe files \'\\S*\' and \'\\S*\' are different:\\nAdded the value\\(s\\) \'{"__dict_key_2__": \\[1, 2, 3\\], "__dict_key_3__": \\[1, 2, 3\\], "__dict_key_4__": \\[1, 2, 3\\]}\' in the \'\\[root\\]\\[simple_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nAdded the value\\(s\\) \'{"simple_list_test": \\[\\["dict_key_1", \\[1, 4, 3\\]\\], \\["__dict_key_2__", \\[1, 2, 3\\]\\]\\]}\' in the \'\\[root\\]\' key\\.\\nChanged the value of \'\\[root\\]\\[int_value\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[nested_dict\\]\\[dict_key\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[0\\]\' from \'nested_list_val\' to \'__nested_list_val__\'\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_dict_key_1\\]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[root\\]\\[simple_dict\\]\\[dict_key_1\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[root\\]\\[simple_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[simple_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[root\\]\\[simple_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nRemoved the value\\(s\\) \'{"dict_key_2": \\[1, 2, 3\\]}\' from \'\\[root\\]\\[simple_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key": "nested_dict_val"}\' from \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_test": 0}\' from \'\\[root\\]\' key\\.\\n\\n\\nThe files \'\\S*\' and \'\\S*\' are different:\\nAdded the value\\(s\\) \'{"__dict_key_2__": \\[1, 2, 3\\], "__dict_key_3__": \\[1, 2, 3\\], "__dict_key_4__": \\[1, 2, 3\\]}\' in the \'\\[simple_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nAdded the value\\(s\\) \'{"simple_list_test": \\[\\["dict_key_1", \\[1, 4, 3\\]\\], \\["__dict_key_2__", \\[1, 2, 3\\]\\]\\]}\' in the \'\' key\\.\\nChanged the value of \'\\[int_value\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_dict\\]\\[dict_key\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[0\\]\' from \'nested_list_val\' to \'__nested_list_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_dict_key_1\\]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[simple_dict\\]\\[dict_key_1\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[simple_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[simple_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[simple_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nRemoved the value\\(s\\) \'{"dict_key_2": \\[1, 2, 3\\]}\' from \'\\[simple_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key": "nested_dict_val"}\' from \'\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_test": 0}\' from \'\' key\\.'
Input: 'The files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_assert_equal_trees1/ref/file.ini\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_assert_equal_trees1/res/file.ini\' are different:\nChanged the value of \'[section1][attr1]\' from \'val1\' to \'val2\'.\nChanged the value of \'[section1][attr2]\' from 1 to 2.\nChanged the value of \'[section2][attr3][1]\' from 2 to 3.\nChanged the value of \'[section2][attr3][3]\' from \'b\' to \'c\'.\nChanged the value of \'[section2][attr4][a]\' from 1 to 4.\nChanged the value of \'[section2][attr4][b][1]\' from 2 to 3.\n\n\nThe files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_assert_equal_trees1/ref/file.json\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_assert_equal_trees1/res/file.json\' are different:\nAdded the value(s) \'{"__dict_key_2__": [1, 2, 3], "__dict_key_3__": [1, 2, 3], "__dict_key_4__": [1, 2, 3]}\' in the \'[simple_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'[nested_dict][sub_nested_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'[nested_list][3][1]\' key.\nAdded the value(s) \'{"simple_list_test": [["dict_key_1", [1, 4, 3]], ["__dict_key_2__", [1, 2, 3]]]}\' in the \'\' key.\nChanged the value of \'[int_value]\' from 1 to 2.\nChanged the value of \'[nested_dict][dict_key][1]\' from 2 to 4.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[nested_list][0]\' from 1 to 2.\nChanged the value of \'[nested_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_list][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[nested_list][3][0]\' from \'nested_list_val\' to \'__nested_list_val__\'.\nChanged the value of \'[nested_list][3][1][nested_dict_key_1]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'.\nChanged the value of \'[nested_list][3][1][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[nested_list][3][1][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_list][3][1][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[simple_dict][dict_key_1][1]\' from 2 to 4.\nChanged the value of \'[simple_list][0]\' from 1 to 2.\nChanged the value of \'[simple_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[simple_list][2]\' from \'str_val\' to \'__str_val__\'.\nRemoved the value(s) \'{"dict_key_2": [1, 2, 3]}\' from \'[simple_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key": "nested_dict_val"}\' from \'[nested_dict][sub_nested_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'[nested_list][3][1]\' key.\nRemoved the value(s) \'{"nested_dict_test": 0}\' from \'\' key.\n\n\nThe files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_assert_equal_trees1/ref/file.pdf\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_assert_equal_trees1/res/file.pdf\' are different:\nException raised: (Exception) Cannot find ImageMagick\'s compare program. Is ImageMagick installed? If so, you can try setting environment variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset .\n\n\nThe files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_assert_equal_trees1/ref/file.xml\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_assert_equal_trees1/res/file.xml\' are different:\nAdded the value(s) \'{"__dict_key_2__": [1, 2, 3], "__dict_key_3__": [1, 2, 3], "__dict_key_4__": [1, 2, 3]}\' in the \'[root][simple_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'[root][nested_dict][sub_nested_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'[root][nested_list][3][1]\' key.\nAdded the value(s) \'{"simple_list_test": [["dict_key_1", [1, 4, 3]], ["__dict_key_2__", [1, 2, 3]]]}\' in the \'[root]\' key.\nChanged the value of \'[root][int_value]\' from 1 to 2.\nChanged the value of \'[root][nested_dict][dict_key][1]\' from 2 to 4.\nChanged the value of \'[root][nested_dict][sub_nested_dict][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[root][nested_dict][sub_nested_dict][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[root][nested_dict][sub_nested_dict][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[root][nested_list][0]\' from 1 to 2.\nChanged the value of \'[root][nested_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[root][nested_list][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[root][nested_list][3][0]\' from \'nested_list_val\' to \'__nested_list_val__\'.\nChanged the value of \'[root][nested_list][3][1][nested_dict_key_1]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'.\nChanged the value of \'[root][nested_list][3][1][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[root][nested_list][3][1][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[root][nested_list][3][1][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[root][simple_dict][dict_key_1][1]\' from 2 to 4.\nChanged the value of \'[root][simple_list][0]\' from 1 to 2.\nChanged the value of \'[root][simple_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[root][simple_list][2]\' from \'str_val\' to \'__str_val__\'.\nRemoved the value(s) \'{"dict_key_2": [1, 2, 3]}\' from \'[root][simple_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key": "nested_dict_val"}\' from \'[root][nested_dict][sub_nested_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'[root][nested_list][3][1]\' key.\nRemoved the value(s) \'{"nested_dict_test": 0}\' from \'[root]\' key.\n\n\nThe files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_assert_equal_trees1/ref/file.yaml\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_assert_equal_trees1/res/file.yaml\' are different:\nAdded the value(s) \'{"__dict_key_2__": [1, 2, 3], "__dict_key_3__": [1, 2, 3], "__dict_key_4__": [1, 2, 3]}\' in the \'[simple_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'[nested_dict][sub_nested_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'[nested_list][3][1]\' key.\nAdded the value(s) \'{"simple_list_test": [["dict_key_1", [1, 4, 3]], ["__dict_key_2__", [1, 2, 3]]]}\' in the \'\' key.\nChanged the value of \'[int_value]\' from 1 to 2.\nChanged the value of \'[nested_dict][dict_key][1]\' from 2 to 4.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[nested_list][0]\' from 1 to 2.\nChanged the value of \'[nested_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_list][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[nested_list][3][0]\' from \'nested_list_val\' to \'__nested_list_val__\'.\nChanged the value of \'[nested_list][3][1][nested_dict_key_1]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'.\nChanged the value of \'[nested_list][3][1][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[nested_list][3][1][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_list][3][1][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[simple_dict][dict_key_1][1]\' from 2 to 4.\nChanged the value of \'[simple_list][0]\' from 1 to 2.\nChanged the value of \'[simple_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[simple_list][2]\' from \'str_val\' to \'__str_val__\'.\nRemoved the value(s) \'{"dict_key_2": [1, 2, 3]}\' from \'[simple_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key": "nested_dict_val"}\' from \'[nested_dict][sub_nested_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'[nested_list][3][1]\' key.\nRemoved the value(s) \'{"nested_dict_test": 0}\' from \'\' key.'
|
|
TestDiffTrees.test_exception_in_comparator:
TestDiffTrees#L1
assert 2 == 1
+ where 2 = len({'file.pdf': "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_exception_in_comparat...311/tmp/test_exception_in_comparator0/res/file.yaml' are different:\nException raised: (RuntimeError) Bad\ncomparator"})
|
|
TestDiffTrees.test_specific_args:
TestDiffTrees#L1
assert 5 == 4
+ where 5 = len({'file.ini': "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_specific_args2/ref/fi...' from \'[root][nested_list][3][1]\' key.\nRemoved the value(s) \'{"nested_dict_test": 0}\' from \'[root]\' key.', ...})
|
|
TestDiffTrees.test_nested_files:
TestDiffTrees#L1
assert None is not None
|
|
TestDiffTrees.test_fix_dot_notation:
TestDiffTrees#L1
assert None is not None
|
|
TestCli.test_equal_tree[config_tree_json-config_file_json]:
TestCli#L1
assert ['Differences...tly: unset .'] == ["No differen...ree_js0/res'"]
At index 0 diff: "Differences found between '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_equal_tree_config_tree_js0/ref' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_equal_tree_config_tree_js0/res':\n\n\nThe files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_equal_tree_config_tree_js0/ref/file.pdf' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_equal_tree_config_tree_js0/res/file.pdf' are different:\nKwargs used for computing differences: {'tempdir': '/h...
...Full output truncated (2 lines hidden), use '-vv' to show
|
|
TestCli.test_equal_tree[config_tree_yaml-config_file_yaml]:
TestCli#L1
assert ['Differences...tly: unset .'] == ["No differen...ree_ya0/res'"]
At index 0 diff: "Differences found between '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_equal_tree_config_tree_ya0/ref' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_equal_tree_config_tree_ya0/res':\n\n\nThe files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_equal_tree_config_tree_ya0/ref/file.pdf' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_equal_tree_config_tree_ya0/res/file.pdf' are different:\nKwargs used for computing differences: {'tempdir': '/h...
...Full output truncated (2 lines hidden), use '-vv' to show
|
|
TestCli.test_diff_tree[config_tree_json-config_file_json]:
TestCli#L1
AssertionError: assert False
+ where False = exists()
+ where exists = (((PosixPath('/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_diff_tree_config_tree_jso0') / 'diff-pdf') / 'file.pdf') / 'diff-1.png').exists
|
|
TestCli.test_diff_tree[config_tree_yaml-config_file_yaml]:
TestCli#L1
AssertionError: assert False
+ where False = exists()
+ where exists = (((PosixPath('/home/runner/work/dir-content-diff/dir-content-diff/.tox/py311/tmp/test_diff_tree_config_tree_yam0') / 'diff-pdf') / 'file.pdf') / 'diff-1.png').exists
|
|
test_pytest_plugin.test_export_formatted_data[False-None]:
tests/test_pytest_plugin.py#L129
AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 0,...pped': 0, ...}
Omitting 4 identical items, use -vv to show
Differing items:
{'failed': 3} != {'failed': 0}
{'passed': 0} != {'passed': 3}
Use -v to get more diff
|
|
test_pytest_plugin.test_export_formatted_data[False-_CMD_SUFFIX]:
tests/test_pytest_plugin.py#L129
AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 0,...pped': 0, ...}
Omitting 4 identical items, use -vv to show
Differing items:
{'failed': 3} != {'failed': 0}
{'passed': 0} != {'passed': 3}
Use -v to get more diff
|
|
test_pytest_plugin.test_export_formatted_data[True-None]:
tests/test_pytest_plugin.py#L129
AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 0,...pped': 0, ...}
Omitting 4 identical items, use -vv to show
Differing items:
{'failed': 3} != {'failed': 0}
{'passed': 0} != {'passed': 3}
Use -v to get more diff
|
|
test_pytest_plugin.test_export_formatted_data[True-_CMD_SUFFIX]:
tests/test_pytest_plugin.py#L129
AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 0,...pped': 0, ...}
Omitting 4 identical items, use -vv to show
Differing items:
{'failed': 3} != {'failed': 0}
{'passed': 0} != {'passed': 3}
Use -v to get more diff
|
|
TestPdfComparator.test_diff_tempfile:
TestPdfComparator#L1
assert not "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_diff_tempfile0/ref/file.pdf...nt variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset ."
|
|
TestEqualTrees.test_diff_tree:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_diff_tree0/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_diff_tree0/res/file.pdf' "
'are different:\n'
"Exception raised: (Exception) Cannot find ImageMagick's compare "...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_assert_equal_trees:
TestEqualTrees#L1
AssertionError: The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_assert_equal_trees0/ref/file.pdf' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_assert_equal_trees0/res/file.pdf' are different:
Exception raised: (Exception) Cannot find ImageMagick's compare program. Is ImageMagick installed? If so, you can try setting environment variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset .
|
|
TestEqualTrees.test_assert_equal_trees_export:
TestEqualTrees#L1
AssertionError: The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_assert_equal_trees_export0/ref/file.pdf' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_assert_equal_trees_export0/res/file.pdf' are different:
Exception raised: (Exception) Cannot find ImageMagick's compare program. Is ImageMagick installed? If so, you can try setting environment variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset .
|
|
TestEqualTrees.test_unknown_comparator:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_unknown_comparator0/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_unknown_comparator0/res/file.pdf' "
'are different:\n'
"Exception raised: (Exception) Cannot find ImageMagick's compare "...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_nested_files:
TestEqualTrees#L1
assert {'level1/leve...tly: unset ."} == {}
Left contains 1 more item:
{'level1/level2/level3/file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_nested_files0/ref/level1/level2/level3/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_nested_files0/res/level1/level2/level3/file.pdf' "
'are different:\n'
'Exception raised: (Exception) Cannot find '...
...Full output truncated (8 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_specific_args:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_specific_args0/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_specific_args0/res/file.pdf' "
'are different:\n'
"Exception raised: (Exception) Cannot find ImageMagick's compare "...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_specific_comparator:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_specific_comparator0/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_specific_comparator0/res/file.pdf' "
'are different:\n'
"Exception raised: (Exception) Cannot find ImageMagick's compare "...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_specific_patterns:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_specific_patterns0/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_specific_patterns0/res/file.pdf' "
'are different:\n'
"Exception raised: (Exception) Cannot find ImageMagick's compare "...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestDiffTrees.test_diff_tree:
TestDiffTrees#L1
assert None is not None
|
|
TestDiffTrees.test_assert_equal_trees:
TestDiffTrees#L1
AssertionError: Regex pattern 'The files \'\\S*\' and \'\\S*\' are different:\\nAdded the value\\(s\\) \'{"__dict_key_2__": \\[1, 2, 3\\], "__dict_key_3__": \\[1, 2, 3\\], "__dict_key_4__": \\[1, 2, 3\\]}\' in the \'\\[simple_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nAdded the value\\(s\\) \'{"simple_list_test": \\[\\["dict_key_1", \\[1, 4, 3\\]\\], \\["__dict_key_2__", \\[1, 2, 3\\]\\]\\]}\' in the \'\' key\\.\\nChanged the value of \'\\[int_value\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_dict\\]\\[dict_key\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[0\\]\' from \'nested_list_val\' to \'__nested_list_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_dict_key_1\\]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[simple_dict\\]\\[dict_key_1\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[simple_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[simple_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[simple_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nRemoved the value\\(s\\) \'{"dict_key_2": \\[1, 2, 3\\]}\' from \'\\[simple_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key": "nested_dict_val"}\' from \'\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_test": 0}\' from \'\' key\\.\\n\\n\\nThe files \'\\S*/file.pdf\' and \'\\S*/file.pdf\' are different\\:\\n(Kwargs used for computing differences: {\'verbosity\': 0}\\n)?The following pages are the most different: 1\\n\\n\\nThe files \'\\S*\' and \'\\S*\' are different:\\nAdded the value\\(s\\) \'{"__dict_key_2__": \\[1, 2, 3\\], "__dict_key_3__": \\[1, 2, 3\\], "__dict_key_4__": \\[1, 2, 3\\]}\' in the \'\\[root\\]\\[simple_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nAdded the value\\(s\\) \'{"simple_list_test": \\[\\["dict_key_1", \\[1, 4, 3\\]\\], \\["__dict_key_2__", \\[1, 2, 3\\]\\]\\]}\' in the \'\\[root\\]\' key\\.\\nChanged the value of \'\\[root\\]\\[int_value\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[nested_dict\\]\\[dict_key\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[0\\]\' from \'nested_list_val\' to \'__nested_list_val__\'\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_dict_key_1\\]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[root\\]\\[simple_dict\\]\\[dict_key_1\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[root\\]\\[simple_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[root\\]\\[simple_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[root\\]\\[simple_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nRemoved the value\\(s\\) \'{"dict_key_2": \\[1, 2, 3\\]}\' from \'\\[root\\]\\[simple_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key": "nested_dict_val"}\' from \'\\[root\\]\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'\\[root\\]\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_test": 0}\' from \'\\[root\\]\' key\\.\\n\\n\\nThe files \'\\S*\' and \'\\S*\' are different:\\nAdded the value\\(s\\) \'{"__dict_key_2__": \\[1, 2, 3\\], "__dict_key_3__": \\[1, 2, 3\\], "__dict_key_4__": \\[1, 2, 3\\]}\' in the \'\\[simple_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nAdded the value\\(s\\) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nAdded the value\\(s\\) \'{"simple_list_test": \\[\\["dict_key_1", \\[1, 4, 3\\]\\], \\["__dict_key_2__", \\[1, 2, 3\\]\\]\\]}\' in the \'\' key\\.\\nChanged the value of \'\\[int_value\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_dict\\]\\[dict_key\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_dict\\]\\[sub_nested_dict\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[0\\]\' from \'nested_list_val\' to \'__nested_list_val__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_dict_key_1\\]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[nested_list\\]\\[3\\]\\[1\\]\\[nested_list_key\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nChanged the value of \'\\[simple_dict\\]\\[dict_key_1\\]\\[1\\]\' from 2 to 4\\.\\nChanged the value of \'\\[simple_list\\]\\[0\\]\' from 1 to 2\\.\\nChanged the value of \'\\[simple_list\\]\\[1\\]\' from 2.5 to 2.50001\\.\\nChanged the value of \'\\[simple_list\\]\\[2\\]\' from \'str_val\' to \'__str_val__\'\\.\\nRemoved the value\\(s\\) \'{"dict_key_2": \\[1, 2, 3\\]}\' from \'\\[simple_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key": "nested_dict_val"}\' from \'\\[nested_dict\\]\\[sub_nested_dict\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'\\[nested_list\\]\\[3\\]\\[1\\]\' key\\.\\nRemoved the value\\(s\\) \'{"nested_dict_test": 0}\' from \'\' key\\.' does not match 'The files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_assert_equal_trees1/ref/file.ini\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_assert_equal_trees1/res/file.ini\' are different:\nChanged the value of \'[section1][attr1]\' from \'val1\' to \'val2\'.\nChanged the value of \'[section1][attr2]\' from 1 to 2.\nChanged the value of \'[section2][attr3][1]\' from 2 to 3.\nChanged the value of \'[section2][attr3][3]\' from \'b\' to \'c\'.\nChanged the value of \'[section2][attr4][a]\' from 1 to 4.\nChanged the value of \'[section2][attr4][b][1]\' from 2 to 3.\n\n\nThe files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_assert_equal_trees1/ref/file.json\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_assert_equal_trees1/res/file.json\' are different:\nAdded the value(s) \'{"__dict_key_2__": [1, 2, 3], "__dict_key_3__": [1, 2, 3], "__dict_key_4__": [1, 2, 3]}\' in the \'[simple_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'[nested_dict][sub_nested_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'[nested_list][3][1]\' key.\nAdded the value(s) \'{"simple_list_test": [["dict_key_1", [1, 4, 3]], ["__dict_key_2__", [1, 2, 3]]]}\' in the \'\' key.\nChanged the value of \'[int_value]\' from 1 to 2.\nChanged the value of \'[nested_dict][dict_key][1]\' from 2 to 4.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[nested_list][0]\' from 1 to 2.\nChanged the value of \'[nested_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_list][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[nested_list][3][0]\' from \'nested_list_val\' to \'__nested_list_val__\'.\nChanged the value of \'[nested_list][3][1][nested_dict_key_1]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'.\nChanged the value of \'[nested_list][3][1][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[nested_list][3][1][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_list][3][1][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[simple_dict][dict_key_1][1]\' from 2 to 4.\nChanged the value of \'[simple_list][0]\' from 1 to 2.\nChanged the value of \'[simple_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[simple_list][2]\' from \'str_val\' to \'__str_val__\'.\nRemoved the value(s) \'{"dict_key_2": [1, 2, 3]}\' from \'[simple_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key": "nested_dict_val"}\' from \'[nested_dict][sub_nested_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'[nested_list][3][1]\' key.\nRemoved the value(s) \'{"nested_dict_test": 0}\' from \'\' key.\n\n\nThe files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_assert_equal_trees1/ref/file.pdf\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_assert_equal_trees1/res/file.pdf\' are different:\nException raised: (Exception) Cannot find ImageMagick\'s compare program. Is ImageMagick installed? If so, you can try setting environment variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset .\n\n\nThe files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_assert_equal_trees1/ref/file.xml\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_assert_equal_trees1/res/file.xml\' are different:\nAdded the value(s) \'{"__dict_key_2__": [1, 2, 3], "__dict_key_3__": [1, 2, 3], "__dict_key_4__": [1, 2, 3]}\' in the \'[root][simple_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'[root][nested_dict][sub_nested_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'[root][nested_list][3][1]\' key.\nAdded the value(s) \'{"simple_list_test": [["dict_key_1", [1, 4, 3]], ["__dict_key_2__", [1, 2, 3]]]}\' in the \'[root]\' key.\nChanged the value of \'[root][int_value]\' from 1 to 2.\nChanged the value of \'[root][nested_dict][dict_key][1]\' from 2 to 4.\nChanged the value of \'[root][nested_dict][sub_nested_dict][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[root][nested_dict][sub_nested_dict][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[root][nested_dict][sub_nested_dict][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[root][nested_list][0]\' from 1 to 2.\nChanged the value of \'[root][nested_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[root][nested_list][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[root][nested_list][3][0]\' from \'nested_list_val\' to \'__nested_list_val__\'.\nChanged the value of \'[root][nested_list][3][1][nested_dict_key_1]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'.\nChanged the value of \'[root][nested_list][3][1][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[root][nested_list][3][1][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[root][nested_list][3][1][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[root][simple_dict][dict_key_1][1]\' from 2 to 4.\nChanged the value of \'[root][simple_list][0]\' from 1 to 2.\nChanged the value of \'[root][simple_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[root][simple_list][2]\' from \'str_val\' to \'__str_val__\'.\nRemoved the value(s) \'{"dict_key_2": [1, 2, 3]}\' from \'[root][simple_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key": "nested_dict_val"}\' from \'[root][nested_dict][sub_nested_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'[root][nested_list][3][1]\' key.\nRemoved the value(s) \'{"nested_dict_test": 0}\' from \'[root]\' key.\n\n\nThe files \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_assert_equal_trees1/ref/file.yaml\' and \'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_assert_equal_trees1/res/file.yaml\' are different:\nAdded the value(s) \'{"__dict_key_2__": [1, 2, 3], "__dict_key_3__": [1, 2, 3], "__dict_key_4__": [1, 2, 3]}\' in the \'[simple_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2", "nested_dict_key_1": "__nested_dict_val_1__"}\' in the \'[nested_dict][sub_nested_dict]\' key.\nAdded the value(s) \'{"__nested_dict_key_2__": "nested_dict_val_2"}\' in the \'[nested_list][3][1]\' key.\nAdded the value(s) \'{"simple_list_test": [["dict_key_1", [1, 4, 3]], ["__dict_key_2__", [1, 2, 3]]]}\' in the \'\' key.\nChanged the value of \'[int_value]\' from 1 to 2.\nChanged the value of \'[nested_dict][dict_key][1]\' from 2 to 4.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_dict][sub_nested_dict][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[nested_list][0]\' from 1 to 2.\nChanged the value of \'[nested_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_list][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[nested_list][3][0]\' from \'nested_list_val\' to \'__nested_list_val__\'.\nChanged the value of \'[nested_list][3][1][nested_dict_key_1]\' from \'nested_dict_val_1\' to \'__nested_dict_val_1__\'.\nChanged the value of \'[nested_list][3][1][nested_list_key][0]\' from 1 to 2.\nChanged the value of \'[nested_list][3][1][nested_list_key][1]\' from 2.5 to 2.50001.\nChanged the value of \'[nested_list][3][1][nested_list_key][2]\' from \'str_val\' to \'__str_val__\'.\nChanged the value of \'[simple_dict][dict_key_1][1]\' from 2 to 4.\nChanged the value of \'[simple_list][0]\' from 1 to 2.\nChanged the value of \'[simple_list][1]\' from 2.5 to 2.50001.\nChanged the value of \'[simple_list][2]\' from \'str_val\' to \'__str_val__\'.\nRemoved the value(s) \'{"dict_key_2": [1, 2, 3]}\' from \'[simple_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key": "nested_dict_val"}\' from \'[nested_dict][sub_nested_dict]\' key.\nRemoved the value(s) \'{"nested_dict_key_2": "nested_dict_val_2"}\' from \'[nested_list][3][1]\' key.\nRemoved the value(s) \'{"nested_dict_test": 0}\' from \'\' key.'.
|
|
TestDiffTrees.test_exception_in_comparator:
TestDiffTrees#L1
assert 2 == 1
+ where 2 = len({'file.pdf': "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_exception_in_c...ons/tmp/test_exception_in_comparator0/res/file.yaml' are different:\nException raised: (RuntimeError) Bad\ncomparator"})
|
|
TestDiffTrees.test_specific_args:
TestDiffTrees#L1
assert 5 == 4
+ where 5 = len({'file.ini': "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_specific_args1...' from \'[root][nested_list][3][1]\' key.\nRemoved the value(s) \'{"nested_dict_test": 0}\' from \'[root]\' key.', ...})
|
|
TestDiffTrees.test_nested_files:
TestDiffTrees#L1
assert None is not None
|
|
TestDiffTrees.test_fix_dot_notation:
TestDiffTrees#L1
assert None is not None
|
|
TestCli.test_equal_tree[config_tree_json-config_file_json]:
TestCli#L1
assert ['Differences...tly: unset .'] == ["No differen...ree_js0/res'"]
At index 0 diff: "Differences found between '/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_equal_tree_config_tree_js0/ref' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_equal_tree_config_tree_js0/res':\n\n\nThe files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_equal_tree_config_tree_js0/ref/file.pdf' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_equal_tree_config_tree_js0/res/file.pdf' are different:\nKwargs used for computing ...
...Full output truncated (2 lines hidden), use '-vv' to show
|
|
TestCli.test_equal_tree[config_tree_yaml-config_file_yaml]:
TestCli#L1
assert ['Differences...tly: unset .'] == ["No differen...ree_ya0/res'"]
At index 0 diff: "Differences found between '/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_equal_tree_config_tree_ya0/ref' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_equal_tree_config_tree_ya0/res':\n\n\nThe files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_equal_tree_config_tree_ya0/ref/file.pdf' and '/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_equal_tree_config_tree_ya0/res/file.pdf' are different:\nKwargs used for computing ...
...Full output truncated (2 lines hidden), use '-vv' to show
|
|
TestCli.test_diff_tree[config_tree_json-config_file_json]:
TestCli#L1
AssertionError: assert False
+ where False = <bound method Path.exists of PosixPath('/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_diff_tree_config_tree_jso0/diff-pdf/file.pdf/diff-1.png')>()
+ where <bound method Path.exists of PosixPath('/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_diff_tree_config_tree_jso0/diff-pdf/file.pdf/diff-1.png')> = (((PosixPath('/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_diff_tree_config_tree_jso0') / 'diff-pdf') / 'file.pdf') / 'diff-1.png').exists
|
|
TestCli.test_diff_tree[config_tree_yaml-config_file_yaml]:
TestCli#L1
AssertionError: assert False
+ where False = <bound method Path.exists of PosixPath('/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_diff_tree_config_tree_yam0/diff-pdf/file.pdf/diff-1.png')>()
+ where <bound method Path.exists of PosixPath('/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_diff_tree_config_tree_yam0/diff-pdf/file.pdf/diff-1.png')> = (((PosixPath('/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_diff_tree_config_tree_yam0') / 'diff-pdf') / 'file.pdf') / 'diff-1.png').exists
|
|
test_pytest_plugin.test_export_formatted_data[False-None]:
tests/test_pytest_plugin.py#L129
AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 0,...pped': 0, ...}
Omitting 4 identical items, use -vv to show
Differing items:
{'passed': 0} != {'passed': 3}
{'failed': 3} != {'failed': 0}
Use -v to get the full diff
|
|
test_pytest_plugin.test_export_formatted_data[False-_CMD_SUFFIX]:
tests/test_pytest_plugin.py#L129
AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 0,...pped': 0, ...}
Omitting 4 identical items, use -vv to show
Differing items:
{'passed': 0} != {'passed': 3}
{'failed': 3} != {'failed': 0}
Use -v to get the full diff
|
|
test_pytest_plugin.test_export_formatted_data[True-None]:
tests/test_pytest_plugin.py#L129
AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 0,...pped': 0, ...}
Omitting 4 identical items, use -vv to show
Differing items:
{'passed': 0} != {'passed': 3}
{'failed': 3} != {'failed': 0}
Use -v to get the full diff
|
|
test_pytest_plugin.test_export_formatted_data[True-_CMD_SUFFIX]:
tests/test_pytest_plugin.py#L129
AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 0,...pped': 0, ...}
Omitting 4 identical items, use -vv to show
Differing items:
{'passed': 0} != {'passed': 3}
{'failed': 3} != {'failed': 0}
Use -v to get the full diff
|
|
TestEqualTrees.test_diff_tree:
TestEqualTrees#L1
assert {'file.pdf': ...tly: unset ."} == {}
Left contains 1 more item:
{'file.pdf': 'The files '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_diff_tree3/ref/file.pdf' "
'and '
"'/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_diff_tree3/res/file.pdf' "
'are different:\n'
"Exception raised: (Exception) Cannot find ImageMagick's compare "...
...Full output truncated (5 lines hidden), use '-vv' to show
|
|
TestEqualTrees.test_replace_pattern:
TestEqualTrees#L1
assert 2 == 1
+ where 2 = len({'file.csv': "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_replace_patter...t variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset ."})
|
|
TestDiffTrees.test_missing_column:
TestDiffTrees#L1
assert 2 == 1
+ where 2 = len({'file.csv': "The files '/home/runner/work/dir-content-diff/dir-content-diff/.tox/min_versions/tmp/test_missing_column...t variable COMPARE to the complete path of the compare executable. Environment variable COMPARE is currently: unset ."})
|