aboutsummaryrefslogtreecommitdiff
path: root/gitosis/test/test_serve.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitosis/test/test_serve.py')
-rw-r--r--gitosis/test/test_serve.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gitosis/test/test_serve.py b/gitosis/test/test_serve.py
index 846d720..a79dbaf 100644
--- a/gitosis/test/test_serve.py
+++ b/gitosis/test/test_serve.py
@@ -54,7 +54,7 @@ def test_bad_forbiddenCommand_read():
user='jdoe',
command="git-upload-pack 'foo'",
)
- eq(str(e), 'Read access denied')
+ eq(str(e), 'Repository read access denied')
assert isinstance(e, serve.AccessDenied)
assert isinstance(e, serve.ServingError)
@@ -69,7 +69,7 @@ def test_bad_forbiddenCommand_write_noAccess():
)
# error message talks about read in an effort to make it more
# obvious that jdoe doesn't have *even* read access
- eq(str(e), 'Read access denied')
+ eq(str(e), 'Repository read access denied')
assert isinstance(e, serve.AccessDenied)
assert isinstance(e, serve.ServingError)
@@ -85,7 +85,7 @@ def test_bad_forbiddenCommand_write_readAccess():
user='jdoe',
command="git-receive-pack 'foo'",
)
- eq(str(e), 'Write access denied')
+ eq(str(e), 'Repository write access denied')
assert isinstance(e, serve.AccessDenied)
assert isinstance(e, serve.ServingError)