Skip to content

Commit 6432fe9

Browse files
modocacheJNRowe
authored andcommitted
Change enterprise URL in docs.
Closes ask#76.
1 parent 4c67559 commit 6432fe9

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

doc/api/client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ https://github.com/.
6161

6262
>>> from github2.client import Github
6363
>>> github = Github(username="modocache", api_token=".......",
64-
... github_url="http://git.gree-dev.net/")
64+
... github_url="http://your-github-enterprise-url.com/")
6565

6666
.. _OAuth service: http://develop.github.com/p/oauth.html

tests/test_unit.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ def test_default_host(self):
2828
assert_equals(client.request.github_url, 'https://github.com')
2929

3030
def test_non_standard_host(self):
31-
client = Github(github_url="http://git.gree-dev.net/")
32-
assert_equals(client.request.github_url, 'http://git.gree-dev.net/')
31+
client = Github(github_url="http://your-github-enterprise-url.com/")
32+
assert_equals(client.request.github_url,
33+
'http://your-github-enterprise-url.com/')
3334

3435

3536
class RateLimits(utils.HttpMockTestCase):

0 commit comments

Comments
 (0)