diff options
| author | Sebastian Thiel <byronimo@gmail.com> | 2011-07-08 10:28:17 +0200 |
|---|---|---|
| committer | Sebastian Thiel <byronimo@gmail.com> | 2011-07-08 10:28:17 +0200 |
| commit | 16a13276f26e2b4b0cad35c66a527bb8d128d587 (patch) | |
| tree | 024ce184c93631698439623dc410c6701a1c971b /git/test/performance/db/test_odb_pygit2.py | |
| parent | 023dc1244c02d415bb964eeb0b51b257523897df (diff) | |
| download | GitPython-16a13276f26e2b4b0cad35c66a527bb8d128d587.tar.gz GitPython-16a13276f26e2b4b0cad35c66a527bb8d128d587.zip | |
Added basic frame for pygit2 - it just needs some basic methods to be implemented now - depending on the performance, it might actually receive some more work
Diffstat (limited to 'git/test/performance/db/test_odb_pygit2.py')
| -rw-r--r-- | git/test/performance/db/test_odb_pygit2.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/git/test/performance/db/test_odb_pygit2.py b/git/test/performance/db/test_odb_pygit2.py new file mode 100644 index 00000000..aa886e08 --- /dev/null +++ b/git/test/performance/db/test_odb_pygit2.py @@ -0,0 +1,13 @@ +try: + from git.db.dulwich.complex import DulwichCompatibilityGitDB +except ImportError: + from git.db.complex import PureCompatibilityGitDB as DulwichCompatibilityGitDB +#END handle dulwich compatibility + +from git.test.db.dulwich.lib import DulwichRequiredMetaMixin +from odb_impl import TestObjDBPerformanceBase + +class TestPureDB(TestObjDBPerformanceBase): + __metaclass__ = DulwichRequiredMetaMixin + RepoCls = DulwichCompatibilityGitDB + |
