mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Be explicit about test coverage lacking in Notification.py
This commit is contained in:
@@ -118,5 +118,5 @@ class Notification(github.GithubObject.CompletableGithubObject):
|
||||
assert attributes["updated_at"] is None or isinstance(attributes["updated_at"], (str, unicode)), attributes["updated_at"]
|
||||
self._updated_at = self._parseDatetime(attributes["updated_at"])
|
||||
if "url" in attributes: # pragma no branch
|
||||
assert attributes["url"] is None or isinstance(attributes["url"], (str, unicode)), attributes["url"]
|
||||
self._url = attributes["url"]
|
||||
assert attributes["url"] is None or isinstance(attributes["url"], (str, unicode)), attributes["url"] # pragma no cover (but should be investigated)
|
||||
self._url = attributes["url"] # pragma no cover (but should be investigated)
|
||||
|
||||
Reference in New Issue
Block a user