mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 11:51:10 +00:00
Drastically increase coverage by checking repr() (#1521)
A lot of our missing coverage is caused by not checking repr(), which is trivial enough to test against -- do so, and also clean up existing repr tests to look the same by calling repr(). Where it was trivial, add a few assertions about missing attributes.
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ class RateLimit(github.GithubObject.NonCompletableGithubObject):
|
||||
is present in the rate object.
|
||||
"""
|
||||
)
|
||||
def rate(self):
|
||||
def rate(self): # pragma: no cover
|
||||
"""
|
||||
(Deprecated) Rate limit for non-search-related API, use `core` instead
|
||||
|
||||
|
||||
Reference in New Issue
Block a user