(self)
| 132 | ) |
| 133 | |
| 134 | def testSearchRepos(self): |
| 135 | repos = self.g.search_repositories("github", sort="stars", order="desc", language="Python") |
| 136 | self.assertListKeyBegin( |
| 137 | repos, |
| 138 | lambda r: r.full_name, |
| 139 | [ |
| 140 | "kennethreitz/legit", |
| 141 | "RuudBurger/CouchPotatoV1", |
| 142 | "gelstudios/gitfiti", |
| 143 | "gpjt/webgl-lessons", |
| 144 | "jacquev6/PyGithub", |
| 145 | "aaasen/github_globe", |
| 146 | "hmason/gitmarks", |
| 147 | "dnerdy/factory_boy", |
| 148 | "binaryage/drydrop", |
| 149 | "bgreenlee/sublime-github", |
| 150 | "karan/HackerNewsAPI", |
| 151 | "mfenniak/pyPdf", |
| 152 | "skazhy/github-decorator", |
| 153 | "llvmpy/llvmpy", |
| 154 | "lexrupy/gmate", |
| 155 | "ask/python-github2", |
| 156 | "audreyr/cookiecutter-pypackage", |
| 157 | "tabo/django-treebeard", |
| 158 | "dbr/tvdb_api", |
| 159 | "jchris/couchapp", |
| 160 | "joeyespo/grip", |
| 161 | "nigelsmall/py2neo", |
| 162 | "ask/chishop", |
| 163 | "sigmavirus24/github3.py", |
| 164 | "jsmits/github-cli", |
| 165 | "lincolnloop/django-layout", |
| 166 | "amccloud/django-project-skel", |
| 167 | "Stiivi/brewery", |
| 168 | "webpy/webpy.github.com", |
| 169 | "dustin/py-github", |
| 170 | "logsol/Github-Auto-Deploy", |
| 171 | "cloudkick/libcloud", |
| 172 | "berkerpeksag/github-badge", |
| 173 | "bitprophet/ssh", |
| 174 | "azavea/OpenTreeMap", |
| 175 | ], |
| 176 | ) |
| 177 | |
| 178 | def testSearchReposWithNoResults(self): |
| 179 | repos = self.g.search_repositories("doesnotexist") |
nothing calls this directly
no test coverage detected