Acknowledge some lack of test coverage

This commit is contained in:
Vincent Jacques
2014-05-04 12:18:00 -07:00
parent 72d3c05bac
commit 580528876a
5 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ class Requester:
if status == 401 and output.get("message") == "Bad credentials":
cls = GithubException.BadCredentialsException
elif status == 401 and 'x-github-otp' in headers and re.match(r'.*required.*', headers['x-github-otp']):
cls = GithubException.TwoFactorException
cls = GithubException.TwoFactorException # pragma no cover (Should be covered)
elif status == 403 and output.get("message").startswith("Missing or invalid User Agent string"):
cls = GithubException.BadUserAgentException
elif status == 403 and output.get("message").startswith("API Rate Limit Exceeded"):