diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2011-05-30 18:19:44 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2011-05-30 18:20:48 +0200 |
commit | c192638aae09c1b5c087d67cc99dd4c7ec4ed916 (patch) | |
tree | 470ec82de0142c26ea333a11d954a04c6f631f9f /git/test/db/py/test_ref.py | |
parent | 2bfc2e99111ef0e31f2bfda8a01c261a4f3f67cf (diff) | |
download | gitpython-c192638aae09c1b5c087d67cc99dd4c7ec4ed916.tar.gz |
Fixed all remaining python repository tests
Diffstat (limited to 'git/test/db/py/test_ref.py')
-rw-r--r-- | git/test/db/py/test_ref.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/git/test/db/py/test_ref.py b/git/test/db/py/test_ref.py index 43fbb48f..c5374dc9 100644 --- a/git/test/db/py/test_ref.py +++ b/git/test/db/py/test_ref.py @@ -2,8 +2,8 @@ # # This module is part of GitDB and is released under # the New BSD License: http://www.opensource.org/licenses/bsd-license.php -from lib import * -from git.db.py import PureReferenceDB +from git.test.db.lib import * +from git.db.py.ref import PureReferenceDB from git.util import ( NULL_BIN_SHA, @@ -14,6 +14,8 @@ import os class TestPureReferenceDB(TestDBBase): + needs_ro_repo = False + def make_alt_file(self, alt_path, alt_list): """Create an alternates file which contains the given alternates. The list can be empty""" @@ -44,7 +46,7 @@ class TestPureReferenceDB(TestDBBase): assert len(rdb.databases()) == 1 # we should now find a default revision of ours - git_sha = hex_to_bin("5690fd0d3304f378754b23b098bd7cb5f4aa1976") + git_sha = hex_to_bin("5aebcd5cb3340fb31776941d7e4d518a712a8655") assert rdb.has_object(git_sha) # remove valid |