Test: Corrected test, which assumed zero-based annotation indexing

This commit is contained in:
Paul Beckingham 2015-09-06 16:49:29 -04:00
parent 58d52a0191
commit 89df8e5c8a

View file

@ -309,7 +309,7 @@ class TestDOMDirectReferencesOnAddition(TestCase):
def test_dom_reference_annotation(self):
""" DOM reference on annotation description in add command """
self.t("add description:1.annotations.1.description")
self.t("add description:1.annotations.2.description")
latest = self.t.latest
self.assertEqual("Second annotation", latest['description'])