Skip to content

Commit

Permalink
Update due to tests kivy#3
Browse files Browse the repository at this point in the history
Minor omissions
  • Loading branch information
Julian-O committed Jul 8, 2023
1 parent 4d65915 commit f37a54f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions buildozer/targets/ios.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def build_package(self):
if any((app_url, display_image_url, full_size_image_url)):

if not all((app_url, display_image_url, full_size_image_url)):
self.buildozer.error("Options ios.manifest.app_url, ios.manifest.display_image_url"
self.logger.error("Options ios.manifest.app_url, ios.manifest.display_image_url"
" and ios.manifest.full_size_image_url should be defined all together")
return

Expand Down Expand Up @@ -290,7 +290,7 @@ def build_package(self):
key = 'ios.codesign.{}'.format(self.build_mode)
ioscodesign = self.buildozer.config.getdefault('app', key, '')
if not ioscodesign:
self.buildozer.error('Cannot create the IPA package without'
self.logger.error('Cannot create the IPA package without'
' signature. You must fill the "{}" token.'.format(key))
return
elif ioscodesign[0] not in ('"', "'"):
Expand Down Expand Up @@ -338,7 +338,7 @@ def cmd_xcode(self, *args):
def _run_ios_deploy(self, lldb=False):
state = self.buildozer.state
if 'ios:latestappdir' not in state:
self.buildozer.error(
self.logger.error(
'App not built yet. Run "debug" or "release" first.')
return
ios_app_dir = state.get('ios:latestappdir')
Expand Down
2 changes: 1 addition & 1 deletion buildozer/targets/osx.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def build_package(self):
'--bundleid={}'.format(domain),
'--bundleversion={}'.format(version),
'--displayname={}'.format(title)
]
]
if icon:
cmd.append('--icon={}'.format(icon))
if author:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_buildozer.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def test_run_command_unknown(self):
assert mock_stdout.getvalue() == 'Unknown command/target {}\n'.format(command)

@unittest.skipIf(
platform=="win32",
platform == "win32",
"Test can't handle when resulting path is normalised on Windows")
def test_android_ant_path(self):
"""
Expand Down

0 comments on commit f37a54f

Please sign in to comment.