diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2011-05-30 13:06:37 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2011-05-30 13:06:37 +0200 |
commit | 024adf37acddd6a5d8293b6b5d15795c59a142c0 (patch) | |
tree | 3610b99168f984acb0eefe3a995295f4d3b1d096 /git/db/complex.py | |
parent | 112bb1672d6b28f203e7839e320b985486636800 (diff) | |
download | gitpython-024adf37acddd6a5d8293b6b5d15795c59a142c0.tar.gz |
Fixed tests far enough to allow basic repository tests to be applied to any of the new database types. This reduces code duplication to the mere minimum, but allows custom tests to be added on top easily and flexibly
Diffstat (limited to 'git/db/complex.py')
-rw-r--r-- | git/db/complex.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/git/db/complex.py b/git/db/complex.py index dc85a595..ef2013e3 100644 --- a/git/db/complex.py +++ b/git/db/complex.py @@ -1,12 +1,12 @@ """Module with many useful complex databases with different useful combinations of primary implementations""" from py.complex import PureGitDB -from cmd.complex import CmdGitDB -from compat import RepoCompatInterface +from cmd.complex import CmdPartialGitDB +from compat import RepoCompatibilityInterface -__all__ = ['CmdGitDB', 'PureGitDB', 'PureCmdGitDB'] +__all__ = ['CmdPartialGitDB', 'PureGitDB', 'PureCmdGitDB'] -class PureCmdGitDB(PureGitDB, CmdGitDB, RepoCompatInterface): +class PureCmdGitDB(PureGitDB, CmdPartialGitDB, RepoCompatibilityInterface): """Repository which uses the pure implementation primarily, but falls back to the git command implementation. Please note that the CmdGitDB does it the opposite way around.""" |