Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike committed Feb 4, 2021
1 parent 99cac77 commit 74221ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/hdx/data/test_resource.py
Expand Up @@ -506,6 +506,9 @@ def test_update_in_hdx(self, configuration, post_update):
resource.update_in_hdx()
assert resource['id'] == '74b74ae1-df0c-4716-829f-4f939a046811'
assert resource['format'] == 'xlsx'
resource.set_file_type('.xsl')
assert resource.get_file_type() == 'xls'
resource.set_file_type('XLSX')
assert resource.get_file_type() == 'xlsx'
assert resource['url_type'] == 'api'
assert resource['resource_type'] == 'api'
Expand Down

0 comments on commit 74221ce

Please sign in to comment.