Remove some spurious print statements.
This commit is contained in:
parent
0b160eba33
commit
25063f176c
2 changed files with 0 additions and 5 deletions
|
@ -719,10 +719,7 @@ def update_repo_api(namespace, repository):
|
||||||
def repo_logs_api(namespace, repository):
|
def repo_logs_api(namespace, repository):
|
||||||
permission = AdministerRepositoryPermission(namespace, repository)
|
permission = AdministerRepositoryPermission(namespace, repository)
|
||||||
if permission.can():
|
if permission.can():
|
||||||
print namespace
|
|
||||||
print repository
|
|
||||||
repo = model.get_repository(namespace, repository)
|
repo = model.get_repository(namespace, repository)
|
||||||
print repo
|
|
||||||
if not repo:
|
if not repo:
|
||||||
abort(404)
|
abort(404)
|
||||||
|
|
||||||
|
|
|
@ -42,8 +42,6 @@ class _SpecTestBuilder(type):
|
||||||
rv = c.open(url, **open_kwargs)
|
rv = c.open(url, **open_kwargs)
|
||||||
msg = '%s %s: %s expected: %s' % (open_kwargs['method'], url,
|
msg = '%s %s: %s expected: %s' % (open_kwargs['method'], url,
|
||||||
rv.status_code, expected_status)
|
rv.status_code, expected_status)
|
||||||
if rv.status_code != expected_status:
|
|
||||||
print msg
|
|
||||||
self.assertEqual(rv.status_code, expected_status, msg)
|
self.assertEqual(rv.status_code, expected_status, msg)
|
||||||
return test
|
return test
|
||||||
|
|
||||||
|
|
Reference in a new issue