Skip to content

Commit

Permalink
[#1886] remove unnecessary legacy test modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Jun 15, 2015
1 parent d753dfd commit c6b494d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ckan/tests/legacy/functional/api/model/test_vocabulary.py
Expand Up @@ -816,11 +816,6 @@ def test_add_vocab_tag_to_dataset(self):
# Add the new vocab tag to the package.
package['tags'].append(tag)

# Delete "packages" from tag dicts as it causes validation errors.
for tag in package['tags']:
if 'packages' in tag:
del tag['packages']

updated_package = self._post('/api/action/package_update',
params={'id': package['id'], 'tags': package['tags']},
extra_environ={'Authorization':
Expand Down Expand Up @@ -882,11 +877,6 @@ def test_delete_tag_from_vocab(self):
for tag in tags:
package['tags'].append(tag)

# Delete "packages" from tag dicts as it causes validation errors.
for tag in package['tags']:
if 'packages' in tag:
del tag['packages']

updated_package = self._post('/api/action/package_update',
params={'id': package['id'], 'tags': package['tags']},
extra_environ={'Authorization':
Expand Down

0 comments on commit c6b494d

Please sign in to comment.