def test_permwrapper_in(self):
        perms = PermWrapper(MockUser())
        # Works for modules and full permissions.
        self.assertIn('mockapp', perms)
        self.assertNotIn('nonexisting', perms)
        self.assertIn('mockapp.someperm', perms)
        self.assertNotIn('mockapp.nonexisting', perms)
Start all the registered services.
dataset/ETHPy150Open django/django/tests/auth_tests/test_context_processors.py/PermWrapperTests.test_permwrapper_in--crossover with--dataset/ETHPy150Open onefinestay/nameko/nameko/runners.py/ServiceRunner.start