summaryrefslogtreecommitdiff
path: root/tests/test_GitRepository.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_GitRepository.py')
-rw-r--r--tests/test_GitRepository.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py
index 8803e85..6427340 100644
--- a/tests/test_GitRepository.py
+++ b/tests/test_GitRepository.py
@@ -679,7 +679,7 @@ def test_create_bare():
>>> bare = gbp.git.GitRepository.create(bare_dir, bare=True, description="msg")
>>> bare.path == bare_dir
True
- >>> bare.git_dir[:-1] == bare_dir
+ >>> bare.git_dir == bare_dir
True
>>> type(bare) == gbp.git.GitRepository
True
@@ -700,7 +700,7 @@ def test_nonexistant():
>>> bare = gbp.git.GitRepository("/does/not/exist")
Traceback (most recent call last):
...
- GitRepositoryError: No Git repository at '/does/not/exist'
+ GitRepositoryError: No Git repository at '/does/not/exist' (or any parent dir)
"""
def test_create_noperm():