aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/tests/services/utils.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-02-10 08:04:55 +0100
committerDavid Medina <davidmedina9@gmail.com>2012-02-11 21:44:09 +0100
commitf5cc31bf6b5638239f3616b7600865db2d380900 (patch)
tree69161eb118b65155de7fcc839c6bcd902aeb6a05 /pygithub3/tests/services/utils.py
parentTypo pep8 (diff)
downloadpython-github3-f5cc31bf6b5638239f3616b7600865db2d380900.tar.xz
python-github3-f5cc31bf6b5638239f3616b7600865db2d380900.zip
Services tests
services.core
Diffstat (limited to 'pygithub3/tests/services/utils.py')
-rw-r--r--pygithub3/tests/services/utils.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pygithub3/tests/services/utils.py b/pygithub3/tests/services/utils.py
new file mode 100644
index 0000000..a981916
--- /dev/null
+++ b/pygithub3/tests/services/utils.py
@@ -0,0 +1,7 @@
+#!/usr/bin/env python
+# -*- encoding: utf-8 -*-
+
+base_url = 'https://api.github.com/'
+
+def _(request):
+ return "%s%s" % (base_url, request)