Loading tests/comparators/test_openssh_pub_key.py +2 −3 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ from diffoscope.config import Config from diffoscope.comparators.openssh import PublicKeyFile from diffoscope.comparators.missing_file import MissingFile from ..utils.data import load_fixture, get_data from ..utils.data import assert_diff, load_fixture from ..utils.tools import skip_unless_tools_exist, skip_unless_tool_is_at_least Loading Loading @@ -56,8 +56,7 @@ def differences(opensshpubkey1, opensshpubkey2): @skip_unless_tool_is_at_least("ssh-keygen", openssh_version, "6.9") def test_diff(differences): expected_diff = get_data("openssh_pub_key_expected_diff") assert differences[0].unified_diff == expected_diff assert_diff(differences[0], "openssh_pub_key_expected_diff") @skip_unless_tools_exist("ssh-keygen") Loading Loading
tests/comparators/test_openssh_pub_key.py +2 −3 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ from diffoscope.config import Config from diffoscope.comparators.openssh import PublicKeyFile from diffoscope.comparators.missing_file import MissingFile from ..utils.data import load_fixture, get_data from ..utils.data import assert_diff, load_fixture from ..utils.tools import skip_unless_tools_exist, skip_unless_tool_is_at_least Loading Loading @@ -56,8 +56,7 @@ def differences(opensshpubkey1, opensshpubkey2): @skip_unless_tool_is_at_least("ssh-keygen", openssh_version, "6.9") def test_diff(differences): expected_diff = get_data("openssh_pub_key_expected_diff") assert differences[0].unified_diff == expected_diff assert_diff(differences[0], "openssh_pub_key_expected_diff") @skip_unless_tools_exist("ssh-keygen") Loading