diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2014-02-10 19:37:33 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2014-02-10 19:37:33 +0100 |
commit | e4654ca3a17832a7d479e5d8e3296f004c632183 (patch) | |
tree | ee5e504920bc918dabdf1b17530135730c6ccabc /git/test | |
parent | f573b6840509bf41be822ab7ed79e0a776005133 (diff) | |
download | gitpython-e4654ca3a17832a7d479e5d8e3296f004c632183.tar.gz |
Adjusted required versions of pre-requisites, now the majority of the tests work
Diffstat (limited to 'git/test')
-rw-r--r-- | git/test/lib/helper.py | 2 | ||||
-rw-r--r-- | git/test/performance/lib.py | 4 | ||||
-rw-r--r-- | git/test/test_git.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py index adada6d4..2634ecdb 100644 --- a/git/test/lib/helper.py +++ b/git/test/lib/helper.py @@ -227,7 +227,7 @@ class TestBase(TestCase): """ @classmethod - def setUpAll(cls): + def setUp(cls): """ Dynamically add a read-only repository to our actual type. This way each test type has its own repository diff --git a/git/test/performance/lib.py b/git/test/performance/lib.py index 778a6c7d..89105334 100644 --- a/git/test/performance/lib.py +++ b/git/test/performance/lib.py @@ -51,7 +51,7 @@ class TestBigRepoR(TestBase): #} END invariants @classmethod - def setUpAll(cls): + def setUp(cls): super(TestBigRepoR, cls).setUpAll() repo_path = resolve_or_fail(k_env_git_repo) cls.gitrorepo = Repo(repo_path, odbt=GitCmdObjectDB) @@ -64,7 +64,7 @@ class TestBigRepoRW(TestBigRepoR): Provides ``self.gitrwrepo`` and ``self.puregitrwrepo``""" @classmethod - def setUpAll(cls): + def setUp(cls): super(TestBigRepoRW, cls).setUpAll() dirname = tempfile.mktemp() os.mkdir(dirname) diff --git a/git/test/test_git.py b/git/test/test_git.py index 42ad784f..5b0cbfee 100644 --- a/git/test/test_git.py +++ b/git/test/test_git.py @@ -19,7 +19,7 @@ from git import Git, GitCommandError class TestGit(TestBase): @classmethod - def setUpAll(cls): + def setUp(cls): super(TestGit, cls).setUpAll() cls.git = Git(cls.rorepo.working_dir) |