Skip to content

Commit e4654ca

Browse files
committed
Adjusted required versions of pre-requisites, now the majority of the tests work
1 parent f573b68 commit e4654ca

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "gitdb"]
22
path = git/ext/gitdb
3-
url = http://github.com/gitpython-developers/gitdb.git
3+
url = http://github.com/gitpython-developers/gitdb.git

README.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ The object database implementation is optimized for handling large quantities of
1111
REQUIREMENTS
1212
============
1313

14-
* Git ( tested with 1.7.3.2 )
14+
* Git ( tested with 1.8.3.4 )
1515
* Python Nose - used for running the tests
16-
* Mock by Michael Foord used for tests. Requires 0.5
16+
* Tested with nose 1.3.0
17+
* Mock by Michael Foord used for tests
18+
* Tested with 1.0.1
1719

1820
INSTALL
1921
=======

git/test/lib/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class TestBase(TestCase):
227227
"""
228228

229229
@classmethod
230-
def setUpAll(cls):
230+
def setUp(cls):
231231
"""
232232
Dynamically add a read-only repository to our actual type. This way
233233
each test type has its own repository

git/test/performance/lib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class TestBigRepoR(TestBase):
5151
#} END invariants
5252

5353
@classmethod
54-
def setUpAll(cls):
54+
def setUp(cls):
5555
super(TestBigRepoR, cls).setUpAll()
5656
repo_path = resolve_or_fail(k_env_git_repo)
5757
cls.gitrorepo = Repo(repo_path, odbt=GitCmdObjectDB)
@@ -64,7 +64,7 @@ class TestBigRepoRW(TestBigRepoR):
6464
Provides ``self.gitrwrepo`` and ``self.puregitrwrepo``"""
6565

6666
@classmethod
67-
def setUpAll(cls):
67+
def setUp(cls):
6868
super(TestBigRepoRW, cls).setUpAll()
6969
dirname = tempfile.mktemp()
7070
os.mkdir(dirname)

git/test/test_git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
class TestGit(TestBase):
2020

2121
@classmethod
22-
def setUpAll(cls):
22+
def setUp(cls):
2323
super(TestGit, cls).setUpAll()
2424
cls.git = Git(cls.rorepo.working_dir)
2525

0 commit comments

Comments
 (0)