Configure a :class:`~pythonforandroid.build.Context` so we can perform our unittests
(self)
| 30 | TEST_ARCH = 'armeabi-v7a' |
| 31 | |
| 32 | def setUp(self): |
| 33 | """Configure a :class:`~pythonforandroid.build.Context` so we can |
| 34 | perform our unittests""" |
| 35 | self.ctx = Context() |
| 36 | self.ctx.ndk_api = 21 |
| 37 | self.ctx.android_api = 27 |
| 38 | self.ctx._sdk_dir = "/opt/android/android-sdk" |
| 39 | self.ctx._ndk_dir = "/opt/android/android-ndk" |
| 40 | self.ctx.setup_dirs(os.getcwd()) |
| 41 | self.ctx.recipe_build_order = [ |
| 42 | "hostpython3", |
| 43 | "python3", |
| 44 | "sdl2", |
| 45 | "kivy", |
| 46 | ] |
| 47 | |
| 48 | def setUp_distribution_with_bootstrap(self, bs, **kwargs): |
| 49 | """Extend the setUp by configuring a distribution, because some test |
nothing calls this directly
no test coverage detected