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

        self.assertEqual(cp.push(path), ret)
Merge exclude patterns from files with those on command line.
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/cp_test.py/CpTestCase.test_push_non_file--crossover with--dataset/ETHPy150Open jborg/attic/attic/helpers.py/update_excludes