From f9664a0863b24ff738aefcbe520f033e5f53e76d Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Mon, 5 Feb 2018 18:22:45 +0100 Subject: [PATCH] Make presence of tags testable --- test/base/interactor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/base/interactor.py b/test/base/interactor.py index 9ea5ed0318c2..7bf1c0d16a0f 100644 --- a/test/base/interactor.py +++ b/test/base/interactor.py @@ -107,12 +107,12 @@ def _verify_metadata(self, history_id, hid, attributes): """Check dataset metadata. ftype on output maps to `file_ext` on the hda's API description, `name`, `info`, - and `dbkey` all map to the API description directly. Other metadata attributes + `dbkey` and `tags` all map to the API description directly. Other metadata attributes are assumed to be datatype-specific and mapped with a prefix of `metadata_`. """ metadata = attributes.get('metadata', {}).copy() for key, value in metadata.copy().items(): - if key not in ['name', 'info']: + if key not in ['name', 'info', 'tags']: new_key = "metadata_%s" % key metadata[new_key] = metadata[key] del metadata[key]