Exemplo 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)
Exemplo 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)
Exemplo n.º 3
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)
Exemplo 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)