Initialize a Context with a Bootstrap and a Distribution to properly test an library recipe, to do so we reuse `BaseClassSetupBootstrap`
(self)
| 200 | |
| 201 | class 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 |
nothing calls this directly
no test coverage detected