summaryrefslogtreecommitdiff
path: root/test/git/test_repo.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/git/test_repo.py')
-rw-r--r--test/git/test_repo.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/git/test_repo.py b/test/git/test_repo.py
index bc2c7094..ff10f6a6 100644
--- a/test/git/test_repo.py
+++ b/test/git/test_repo.py
@@ -184,6 +184,11 @@ class TestRepo(TestCase):
def test_tag(self):
assert self.repo.tag('0.1.5').commit
+ def test_archive(self):
+ tmpfile = os.tmpfile()
+ self.repo.archive(tmpfile, '0.1.5')
+ assert tmpfile.tell()
+
@patch_object(Git, '_call_process')
def test_should_display_blame_information(self, git):
git.return_value = fixture('blame')