From e4654ca3a17832a7d479e5d8e3296f004c632183 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 10 Feb 2014 19:37:33 +0100 Subject: Adjusted required versions of pre-requisites, now the majority of the tests work --- git/test/lib/helper.py | 2 +- git/test/performance/lib.py | 4 ++-- git/test/test_git.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'git/test') 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) -- cgit v1.2.1