Skip to content

Commit

Permalink
fix the typo in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooya-Oladazimi committed Dec 13, 2024
1 parent d14c79d commit 669767c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/multiuploader/tests/test_multiuploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 669767c

Please sign in to comment.