def test_signer_verify_sig(self, mock_repo: Mock) -> None: signer = Signer() signer.verify("/path/the-jar.jar.sig") mock_repo.assert_has_calls([call().execute("gpg --verify-files /path/the-jar.jar.sig")])
def test_signer_verify_asc(self, mock_repo): signer = Signer() signer.verify("/path/the-jar.jar.asc") mock_repo.assert_has_calls( [call().execute("gpg --verify-files /path/the-jar.jar.asc")])