summaryrefslogtreecommitdiffstats
path: root/python/tests/api_releases.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/api_releases.py')
-rw-r--r--python/tests/api_releases.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/tests/api_releases.py b/python/tests/api_releases.py
index a52abfb5..f495777c 100644
--- a/python/tests/api_releases.py
+++ b/python/tests/api_releases.py
@@ -54,6 +54,12 @@ def test_release(api):
api.accept_editgroup(eg.editgroup_id)
r2 = api.get_release(r1edit.ident)
+ # get revision
+ r2_rev = api.get_release_revision(r1edit.revision)
+ assert r1edit.revision == r2_rev.revision
+ assert r2.revision == r2_rev.revision
+ assert r2.title == r2_rev.title
+
# check that fields match
assert r1.title == r2.title
assert r1.original_title == r2.original_title