Skip to content

Commit

Permalink
Fix typo in environ, yet another mock
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian-O committed Aug 27, 2023
1 parent fd12e99 commit efe2bac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion buildozer/targets/ios.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def toolchain(self, cmd, **kwargs):
kwargs.setdefault('cwd', self.ios_dir)
return buildops.cmd(
[*self._toolchain_cmd, *cmd],
env=self.buildozer.env,
env=self.buildozer.environ,
**kwargs)

def xcodebuild(self, *args, **kwargs):
Expand Down
3 changes: 2 additions & 1 deletion tests/targets/test_android.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ def test_install_android_sdk(self, platform):
cwd=mock.ANY,
)
]
assert m_file_extract.call_args_list == [mock.call(archive, cwd=mock.ANY)]
assert m_file_extract.call_args_list == [
mock.call(archive, cwd=mock.ANY, env=mock.ANY)]
assert sdk_dir.endswith(".buildozer/android/platform/android-sdk")

def test_build_package(self):
Expand Down

0 comments on commit efe2bac

Please sign in to comment.