Skip to content

Commit c333392

Browse files
committed
Add zen(). Add test for search_repos.
Also, I made the doc strings for all the methods in github3.github more concise. And I reworked BaseCase.mock_assertions. Now it's a simple method.
1 parent 614f215 commit c333392

4 files changed

Lines changed: 201 additions & 229 deletions

File tree

‎github3/api.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,3 +213,8 @@ def user(login):
213213
def ratelimit_remaining():
214214
"""Get the remaining number of requests allowed."""
215215
return gh.ratelimit_remaining
216+
217+
218+
def zen():
219+
"""Returns a quote from the Zen of GitHub. Yet another API Easter Egg"""
220+
return gh.zen()

0 commit comments

Comments
 (0)