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(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)
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)