Skip to content

Commit e61ac8d

Browse files
committed
Fixed APK tests
1 parent 05f7fa0 commit e61ac8d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test_builds/tests/test_apk.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
from pythonforandroid.toolchain import main
3+
from pythonforandroid.recipe import Recipe
34

45
from os import path
56
import sys
@@ -51,11 +52,14 @@ def set_argv(argv):
5152
@pytest.mark.parametrize('args', argument_combinations)
5253
def test_build_sdl2(args):
5354

55+
Recipe.recipes = {}
56+
5457
set_argv(('apk --requirements={requirements} --private '
5558
'{app_dir} --package=net.p4a.{packagename} --name={packagename} '
5659
'--version=0.1 --bootstrap={bootstrap} --android_api=19 '
5760
'--ndk_dir={ndk_dir} --ndk_version={ndk_version} --debug '
5861
'--permission VIBRATE '
62+
'--symlink-java-src '
5963
'--orientation portrait --dist_name=test-{packagename}').format(
6064
**args).split(' '))
6165

0 commit comments

Comments
 (0)