@patch('os.path.isfile', MagicMock(return_value=True))
    def test_push_dir_file_success(self):
        path = '/srv/salt/saltines'
        ret = True

        with patch('salt.modules.cp.push', MagicMock(return_value=True)):
            self.assertEqual(cp.push_dir(path), ret)
Called when a class_setup or the first half of a class_setup_teardown starts
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/cp_test.py/CpTestCase.test_push_dir_file_success--crossover with--dataset/ETHPy150Open Yelp/Testify/testify/test_reporter.py/TestReporter.class_setup_start