aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/tests
diff options
context:
space:
mode:
authorStefano Rivera <stefano@rivera.za.net>2012-04-24 09:10:06 +0200
committerStefano Rivera <stefano@rivera.za.net>2012-04-24 09:10:54 +0200
commitb488b8447fc943d920cd72b60c6647e5840ff800 (patch)
tree97427dc74a27aa42d125aabba88b49c74c3d633c /pygithub3/tests
parentAdd Orgs Members API (diff)
downloadpython-github3-b488b8447fc943d920cd72b60c6647e5840ff800.tar.xz
python-github3-b488b8447fc943d920cd72b60c6647e5840ff800.zip
An empty string doesn't work around the 411 issue on PUTs. Use 'PLACEHOLDER'
Diffstat (limited to 'pygithub3/tests')
-rw-r--r--pygithub3/tests/services/test_core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygithub3/tests/services/test_core.py b/pygithub3/tests/services/test_core.py
index bd95b34..8a2bbbe 100644
--- a/pygithub3/tests/services/test_core.py
+++ b/pygithub3/tests/services/test_core.py
@@ -27,7 +27,7 @@ class TestServiceCalls(TestCase):
def test_PUT(self, request_method):
self.s._put(self.r, **self.args)
- data = '' # See _put
+ data = 'PLACEHOLDER' # See _put
request_method.assert_called_with('put', _('dummyrequest'),
data=data, params=self.args)