MCPcopy Index your code
hub / github.com/kivy/python-for-android / test_built_libraries

Method test_built_libraries

tests/test_recipe.py:211–219  ·  view source on GitHub ↗

The openssl recipe is a library recipe, so it should have set the attribute `built_libraries`, but not the case of `pyopenssl` recipe.

(self)

Source from the content-addressed store, hash-verified

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
213 attribute `built_libraries`, but not the case of `pyopenssl` recipe.
214 """
215 recipe = Recipe.get_recipe('openssl', self.ctx)
216 self.assertTrue(recipe.built_libraries)
217
218 recipe = Recipe.get_recipe('pyopenssl', self.ctx)
219 self.assertFalse(recipe.built_libraries)
220
221 @mock.patch('pythonforandroid.recipe.exists')
222 def test_should_build(self, mock_exists):

Callers

nothing calls this directly

Calls 1

get_recipeMethod · 0.80

Tested by

no test coverage detected