File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ class Connection(BaseConnection):
30
30
31
31
Doctests:
32
32
>>> h = Connection()
33
- >>> retval = h.execute('http://shop.ebay .com/i.html?rt=nc&_nkw=mytouch+slide&_dmpt=PDA_Accessories&_rss=1 ')
33
+ >>> retval = h.execute('http://feeds.feedburner .com/slashdot/audio?format=xml ')
34
34
>>> print(h.response.reply.rss.channel.ttl)
35
- 60
35
+ 2
36
36
>>> title = h.response.dom().xpath('//title')[0]
37
37
>>> print(title.text)
38
- mytouch slide
38
+ Slashdot
39
39
>>> print(h.error())
40
40
None
41
41
>>> h = Connection(method='POST', debug=False)
Original file line number Diff line number Diff line change @@ -39,7 +39,9 @@ def getTestSuite():
39
39
suite .addTest (doctest .DocTestSuite (ebaysdk .merchandising ))
40
40
suite .addTest (doctest .DocTestSuite (ebaysdk .finding ))
41
41
42
- if not sys .version_info [0 ] >= 3 :
42
+ if not sys .version_info [0 ] >= 3 \
43
+ and sys .modules .has_key ('grequests' ) is True :
44
+
43
45
suite .addTest (doctest .DocTestSuite (ebaysdk .parallel ))
44
46
45
47
You can’t perform that action at this time.
0 commit comments