def setUp(self):
        os_grain = self.run_function('grains.item', ['kernel'])
        if os_grain['kernel'] not in 'Darwin':
            self.skipTest(
                'Test not applicable to \'{kernel}\' kernel'.format(
                    **os_grain
                )
            )
Ensure entire directory is cached to correct location
dataset/ETHPy150Open saltstack/salt/tests/integration/modules/mac_group.py/MacGroupModuleTest.setUp--crossover with--dataset/ETHPy150Open saltstack/salt/tests/integration/fileclient_test.py/FileclientTest.test_cache_dir