diff --git a/tests/targets/test_ios.py b/tests/targets/test_ios.py index d88e08672..987a3a21c 100644 --- a/tests/targets/test_ios.py +++ b/tests/targets/test_ios.py @@ -5,6 +5,7 @@ import pytest +from buildozer.buildops import CommandResult from buildozer.exceptions import BuildozerCommandException from buildozer.targets.ios import TargetIos from tests.targets.utils import ( @@ -183,7 +184,7 @@ def test_unlock_keychain_wrong_password(self): m_getpass.return_value = "password" # the `security unlock-keychain` command returned an error # hence we'll get prompted to enter the password - m_cmd.return_value = (None, None, 123) + m_cmd.return_value = CommandResult(None, None, 123) target._unlock_keychain() # fmt: on assert m_getpass.call_args_list == [