The openssl recipe is a library recipe, so it should have set the attribute `built_libraries`, but not the case of `pyopenssl` recipe.
(self)
| 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): |
nothing calls this directly
no test coverage detected