Skip to content

Commit

Permalink
Use unicode literals for unicode URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Oderbolz committed Nov 7, 2018
1 parent 7b2ec03 commit 60ec367
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/xloader/tests/test_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ def test_resource_url_with_umlaut(self):
# test that xloader can handle URLs with umlauts
# e.g. http://www.web.statistik.zh.ch/ogd/data/KANTON_ZUERICH_gpfi_Jahresrechung_Zweckverbände.csv
self.register_urls(
filename='umlaut_name_äöü.csv',
resource_url='http://example.com/umlaut_name_äöü.csv'
filename=u'umlaut_name_äöü.csv',
resource_url=u'http://example.com/umlaut_name_äöü.csv'
)
data = {
'api_key': self.api_key,
Expand Down

0 comments on commit 60ec367

Please sign in to comment.