diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2011-05-30 21:14:22 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2011-05-30 21:23:17 +0200 |
commit | 6f960586feccff8c1f2c717765eb0a5e8b9cd6f3 (patch) | |
tree | a1c9e6eca585cd7db760ddbd23aacadde6d8d1d4 /git/test/lib/helper.py | |
parent | 7fab60c596cdd2588f9c7b2b4eb9f93f8736b915 (diff) | |
download | gitpython-6f960586feccff8c1f2c717765eb0a5e8b9cd6f3.tar.gz |
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
Diffstat (limited to 'git/test/lib/helper.py')
-rw-r--r-- | git/test/lib/helper.py | 6 |
1 files changed, 6 insertions, 0 deletions
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 |