drdoctr / doctr

A tool for automatically deploying docs from Travis CI to GitHub pages.
https://drdoctr.github.io
MIT License
107 stars 30 forks source link

Fix user and repo tests for Travis #358

Closed gforsyth closed 5 years ago

gforsyth commented 5 years ago

Not sure of the exact date, but Travis is no longer case-sensitive when dealing with user and repo names, at least as of the date of this commit.

Since these are the only tests in local we have for checking if a repo exists in Travis, I've added a random hex-string to the end the repo and user, respectively, to ensure that the RuntimeError is raised as expected.

asmeurer commented 5 years ago

Oh OK. I thought the test failures had to do with the fork changes, but I guess those are just in the tests for https://github.com/drdoctr/doctr/pull/343.