def test_prep_bootstrap(self):
        with patch.dict(seed.__salt__,
                        {'config.gather_bootstrap_script': MagicMock()}):
            with patch.object(os.path, 'join', return_value='A'):
                with patch.object(os.path, 'exists', return_value=True):
                    with patch.object(os, 'chmod', return_value=None):
                        with patch.object(shutil, 'copy', return_value=None):
                            self.assertEqual(seed.prep_bootstrap('mpt'), ('A', 'A'))
Test to update and get the random script to a random place
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/seed_test.py/SeedTestCase.test_prep_bootstrap