summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-10-29 16:08:47 +0200
committerGuido Günther <agx@sigxcpu.org>2011-10-30 13:36:09 +0100
commitea588a57e4588b4d676304b521c7695b0c2d9121 (patch)
tree549c81aa077d13f13adae7ce6c038f3bcafb1ace /tests
parentbf9e3bde8a53b1d8f62a30f10c9cc8c976e02cd8 (diff)
downloadgit-buildpackage-ea588a57e4588b4d676304b521c7695b0c2d9121.tar.gz
git-buildpackage-ea588a57e4588b4d676304b521c7695b0c2d9121.tar.bz2
git-buildpackage-ea588a57e4588b4d676304b521c7695b0c2d9121.zip
GitRepository: handle bare repos and errors in is_clean()
Diffstat (limited to 'tests')
-rw-r--r--tests/test_GitRepository.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py
index 34b96604..55bf9cbe 100644
--- a/tests/test_GitRepository.py
+++ b/tests/test_GitRepository.py
@@ -343,6 +343,8 @@ def test_create_bare():
True
>>> bare.is_empty()
True
+ >>> bare.is_clean()
+ (True, '')
"""
def test_teardown():