MCPcopy Create free account
hub / github.com/kivy/python-for-android / setUp

Method setUp

tests/test_recipe.py:202–209  ·  view source on GitHub ↗

Initialize a Context with a Bootstrap and a Distribution to properly test an library recipe, to do so we reuse `BaseClassSetupBootstrap`

(self)

Source from the content-addressed store, hash-verified

200
201class TestLibraryRecipe(BaseClassSetupBootstrap, unittest.TestCase):
202 def setUp(self):
203 """
204 Initialize a Context with a Bootstrap and a Distribution to properly
205 test an library recipe, to do so we reuse `BaseClassSetupBootstrap`
206 """
207 super().setUp()
208 self.ctx.bootstrap = Bootstrap().get_bootstrap('sdl2', self.ctx)
209 self.setUp_distribution_with_bootstrap(self.ctx.bootstrap)
210
211 def test_built_libraries(self):
212 """The openssl recipe is a library recipe, so it should have set the

Callers

nothing calls this directly

Calls 4

BootstrapClass · 0.90
get_bootstrapMethod · 0.80
setUpMethod · 0.45

Tested by

no test coverage detected