From 669767c102a8ef7fd3c4ab5a442fb446c4a2d503 Mon Sep 17 00:00:00 2001 From: "pooya.oa" Date: Fri, 13 Dec 2024 10:52:03 +0100 Subject: [PATCH] fix the typo in test. --- ckanext/multiuploader/tests/test_multiuploader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/multiuploader/tests/test_multiuploader.py b/ckanext/multiuploader/tests/test_multiuploader.py index a772787..5a683f1 100644 --- a/ckanext/multiuploader/tests/test_multiuploader.py +++ b/ckanext/multiuploader/tests/test_multiuploader.py @@ -120,7 +120,7 @@ def test_resource_upload_admin_add_button(self, app): dataset = factories.Dataset(owner_org=owner_org['id']) self.resource_data['pck_id'] = dataset['id'] self.resource_data['save'] = "go-dataset-complete" - auth = {u"Authorization": self.sysadmin_tokenz} + auth = {u"Authorization": self.sysadmin_token} response = app.post(self.upload_url, data=self.resource_data , extra_environ=auth) assert response.status_code == 200 assert "/dataset/" in response.body