Improved TestShelfMethods.test_getStatistics.
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 6 Mar 2005 10:16:10 +0000 (10:16 +0000)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 6 Mar 2005 10:16:10 +0000 (10:16 +0000)
src/test/shelftests.py

index e4b1635..af79d6e 100755 (executable)
@@ -297,6 +297,7 @@ class TestShelfMethods(TestShelfFixture):
         s = self.shelf.getStatistics()
         assert s["nalbums"] == 6
         assert s["nimages"] == 11
+        assert s["nimageversions"] == 11
 
     def test_createdObjects(self):
         root = self.shelf.getRootAlbum()