diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-22 12:40:07 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-22 12:40:07 +0100 |
commit | b54b9399920375f0bab14ff8495c0ea3f5fa1c33 (patch) | |
tree | 299f314cef43341964d74a67943512b1aed88028 /git/test/lib/helper.py | |
parent | d565a874f29701531ce1fc0779592838040d3edf (diff) | |
download | gitpython-b54b9399920375f0bab14ff8495c0ea3f5fa1c33.tar.gz |
Overhauled all tutorials, and placed them in a unit-test.
That way they are protected from regression.
Fixes #239
Diffstat (limited to 'git/test/lib/helper.py')
-rw-r--r-- | git/test/lib/helper.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py index c5c5a620..8300f272 100644 --- a/git/test/lib/helper.py +++ b/git/test/lib/helper.py @@ -275,6 +275,10 @@ class TestBase(TestCase): of the project history ( to assure tests don't fail for others ). """ + def _small_repo_url(self): + """:return" a path to a small, clonable repository""" + return os.path.join(self.rorepo.working_tree_dir, 'git/ext/gitdb/gitdb/ext/smmap') + @classmethod def setUpClass(cls): """ |