summaryrefslogtreecommitdiff
path: root/testing/test_git.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/test_git.py')
-rw-r--r--testing/test_git.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/test_git.py b/testing/test_git.py
index 1b57fed..8eb8583 100644
--- a/testing/test_git.py
+++ b/testing/test_git.py
@@ -80,6 +80,8 @@ def test_parse_call_order(wd):
def test_version_from_git(wd):
assert wd.version == "0.1.dev0"
+ assert git.parse(str(wd.cwd), git.DEFAULT_DESCRIBE).branch == "master"
+
wd.commit_testfile()
assert wd.version.startswith("0.1.dev1+g")
assert not wd.version.endswith("1-")