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/test/db/cmd/test_base.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/test/db/cmd/test_base.py')
-rw-r--r-- | git/test/db/cmd/test_base.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/git/test/db/cmd/test_base.py b/git/test/db/cmd/test_base.py new file mode 100644 index 00000000..1404eca0 --- /dev/null +++ b/git/test/db/cmd/test_base.py @@ -0,0 +1,13 @@ +# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors +# +# This module is part of GitDB and is released under +# the New BSD License: http://www.opensource.org/licenses/bsd-license.php +from git.test.lib import * +from git.db import RefSpec + +class TestBase(TestDBBase): + + @with_rw_directory + def test_basics(self, path): + assert False + |