diff options
Diffstat (limited to 'tests/test_collection.py')
-rw-r--r-- | tests/test_collection.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_collection.py b/tests/test_collection.py index cc28a27..66f034a 100644 --- a/tests/test_collection.py +++ b/tests/test_collection.py @@ -169,6 +169,7 @@ class testEntries(unittest.TestCase): data = ruamel.yaml.safe_load(fp) entry = lesana.Entry(self.collection, data=data, fname=fname) self.assertEqual(entry.idterm, 'Q'+uid) + self.assertEqual(entry.short_id, uid[:8]) def test_write_new(self): new_entry = lesana.Entry(self.collection) |