def setUp(self):
        '''
        Sets up test requirements
        '''
        os_grain = self.run_function('grains.item', ['kernel'])
        if 'Darwin' not in os_grain['kernel']:
            self.skipTest(
                'Test not applicable to \'{kernel}\' kernel'.format(
                    **os_grain
                )
            )

        # Let's install a bundle to use in tests
        self.run_function('assistive.install', [OSA_SCRIPT, True])
dataset/ETHPy150Open saltstack/salt/tests/integration/modules/mac_assistive.py/MacAssistiveTest.setUp/swapped operands of `not in`