Skip to content

Commit

Permalink
fetching the meta after changing md through client
Browse files Browse the repository at this point in the history
  • Loading branch information
Staiger, Christine committed Dec 1, 2024
1 parent 63fdfb7 commit bb76b38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/irods_client/tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,10 @@ def test_meta_cli(item_name, request, pass_opts):
assert len(ret.stdout.strip("\n").split("\n")) == 1

subprocess.run(["ibridges", "meta-add", cli_path, "key", "value", "units"], **pass_opts)
meta = MetaData(item)
assert ("key", "value", "units") in meta

subprocess.run(["ibridges", "meta-del", cli_path, "--key", "key"], **pass_opts)
meta = MetaData(item)
assert ("key", "value", "units") not in meta
#assert len(meta) == 0

0 comments on commit bb76b38

Please sign in to comment.