summaryrefslogtreecommitdiffstats
path: root/python/tests/api_filesets.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/api_filesets.py')
-rw-r--r--python/tests/api_filesets.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/tests/api_filesets.py b/python/tests/api_filesets.py
index 966b85ca..6f3305c1 100644
--- a/python/tests/api_filesets.py
+++ b/python/tests/api_filesets.py
@@ -44,6 +44,11 @@ def test_fileset(api):
api.accept_editgroup(eg.editgroup_id)
fs2 = api.get_fileset(fs1edit.ident)
+ # get revision
+ fs2_rev = api.get_fileset_revision(fs1edit.revision)
+ assert fs1edit.revision == fs2_rev.revision
+ assert fs2.revision == fs2_rev.revision
+
# check that fields match
assert fs1.urls == fs2.urls
assert fs1.manifest == fs2.manifest