aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/tests/utils/services.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-02-10 08:40:40 +0100
committerDavid Medina <davidmedina9@gmail.com>2012-02-11 21:44:09 +0100
commit7c2fa698089c9d50cb5738ec5d51b1fc51b15291 (patch)
tree8c3efe8ec11f7ca9e66fb3d6681a87a3a7513451 /pygithub3/tests/utils/services.py
parentServices tests (diff)
downloadpython-github3-7c2fa698089c9d50cb5738ec5d51b1fc51b15291.tar.xz
python-github3-7c2fa698089c9d50cb5738ec5d51b1fc51b15291.zip
WIP on resources.users tests
Diffstat (limited to 'pygithub3/tests/utils/services.py')
-rw-r--r--pygithub3/tests/utils/services.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/pygithub3/tests/utils/services.py b/pygithub3/tests/utils/services.py
new file mode 100644
index 0000000..f4765b5
--- /dev/null
+++ b/pygithub3/tests/utils/services.py
@@ -0,0 +1,10 @@
+#!/usr/bin/env python
+# -*- encoding: utf-8 -*-
+
+from .base import mock_json
+
+base_url = 'https://api.github.com/'
+
+
+def _(request):
+ return "%s%s" % (base_url, request)