From 6f960586feccff8c1f2c717765eb0a5e8b9cd6f3 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 30 May 2011 21:14:22 +0200 Subject: Fixed remaining tests as good as possible. remote/fetch/pull and submodule tests need some more work. Also, the tests need to be reorganized and move closer to their actual location within gitpython. Hence the refs tests go to git.test.refs, etc --- git/test/lib/helper.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'git/test/lib/helper.py') diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py index f365e5b4..5776f526 100644 --- a/git/test/lib/helper.py +++ b/git/test/lib/helper.py @@ -219,6 +219,12 @@ class TestBase(TestCase): self.failUnlessRaises(...) """ + @classmethod + def setUpAll(cls): + """This method is only called to provide the most basic functionality + Subclasses may just override it or implement it differently""" + cls.rorepo = Repo(rorepo_dir()) + def _make_file(self, rela_path, data, repo=None): """ Create a file at the given path relative to our repository, filled -- cgit v1.2.1