Esempio n. 1
0
 def test_uninstall(self):
     with mock.patch.object(shutil, "rmtree") as f:
         repo_tasks.uninstall()
         f.assert_called_with(os.path.join(tg.config["scm.repos.root"], "svn/p/test/src"), ignore_errors=True)
Esempio n. 2
0
 def test_uninstall(self):
     with mock.patch.object(shutil, 'rmtree') as f:
         repo_tasks.uninstall()
         f.assert_called_with(os.path.join(tg.config['scm.repos.root'],
                                           'svn/p/test/src'),
                              ignore_errors=True)
 def test_uninstall(self):
     with mock.patch.object(shutil, 'rmtree') as f:
         repo_tasks.uninstall()
         f.assert_called_with('/tmp/svn/p/test/src', ignore_errors=True)
Esempio n. 4
0
 def test_uninstall(self):
     with mock.patch.object(shutil, 'rmtree') as f:
         repo_tasks.uninstall()
         f.assert_called_with('/tmp/svn/p/test/src', ignore_errors=True)