Skip to content

Commit

Permalink
fix unicode issue in dict to xml routine
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheus committed Feb 9, 2014
1 parent e55d2cc commit 7dbb827
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Changes for ebaysdk

1.0.2 Sat Feb 8 20:44:00 PST 2014
- fix unicode issue is dict to xml routine
- add a unicode test
- fix http back-end

1.0.0
Expand Down
2 changes: 1 addition & 1 deletion ebaysdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import platform
import logging

__version__ = '1.0.1'
__version__ = '1.0.2'
Version = __version__ # for backware compatibility


Expand Down
2 changes: 1 addition & 1 deletion ebaysdk/finding/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Connection(BaseConnection):
Doctests:
>>> f = Connection(config_file=os.environ.get('EBAY_YAML'))
>>> retval = f.execute('findItemsAdvanced', {'keywords': 'shoes'})
>>> retval = f.execute('findItemsAdvanced', {'keywords': 'niño'})
>>> error = f.error()
>>> print(error)
None
Expand Down
2 changes: 1 addition & 1 deletion samples/finding.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def run(opts):
config_file=opts.yaml, warnings=True)

api.execute('findItemsAdvanced', {
'keywords': 'python',
'keywords': 'niño',
'itemFilter': [
{'name': 'Condition',
'value': 'Used'},
Expand Down
4 changes: 3 additions & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ def getTestSuite():
suite.addTest(doctest.DocTestSuite(ebaysdk.shopping))
suite.addTest(doctest.DocTestSuite(ebaysdk.trading))
suite.addTest(doctest.DocTestSuite(ebaysdk.merchandising))
suite.addTest(doctest.DocTestSuite(ebaysdk.soa.finditem))

# Internal Only Service
#uite.addTest(doctest.DocTestSuite(ebaysdk.soa.finditem))
return suite

runner = unittest.TextTestRunner()
Expand Down

0 comments on commit 7dbb827

Please sign in to comment.