From 60ec367110254f77e538a8ea65b823b5db75c919 Mon Sep 17 00:00:00 2001 From: Stefan Oderbolz Date: Wed, 7 Nov 2018 15:19:05 +0100 Subject: [PATCH] Use unicode literals for unicode URLs --- ckanext/xloader/tests/test_jobs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ckanext/xloader/tests/test_jobs.py b/ckanext/xloader/tests/test_jobs.py index f4786a88..7845517e 100644 --- a/ckanext/xloader/tests/test_jobs.py +++ b/ckanext/xloader/tests/test_jobs.py @@ -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,