Skip to content

Commit

Permalink
Integration tests: add util.data_object.to_from_id
Browse files Browse the repository at this point in the history
  • Loading branch information
stsnel committed Aug 26, 2024
1 parent e5b8e1a commit ffbf0fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,9 @@ def _test_folder_secure_func(ctx, func):
{"name": "util.data_object.size",
"test": lambda ctx: data_object.size(ctx, "/tempZone/home/research-initial/testdata/lorem.txt"),
"check": lambda x: x == 1003240},
{"name": "util.data_object.to_from_id",
"test": lambda ctx: data_object.name_from_id(ctx, data_object.id_from_path(ctx, "/tempZone/home/research-initial/testdata/lorem.txt")),
"check": lambda x: x == "/tempZone/home/research-initial/testdata/lorem.txt"},
{"name": "util.data_object.get_group_owners",
"test": lambda ctx: data_object.get_group_owners(ctx, "/tempZone/home/research-initial/testdata/lorem.txt"),
"check": lambda x: x == [['research-initial', 'tempZone']]},
Expand Down

0 comments on commit ffbf0fc

Please sign in to comment.