summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_group.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_group.py b/tests/test_group.py
index c69e4dbb..3c3a5b7a 100644
--- a/tests/test_group.py
+++ b/tests/test_group.py
@@ -23,5 +23,10 @@ class TestGroup(unittest.TestCase):
list(group) == list(group)
+ def test_cache_groups(self):
+ """group: Iterate over all groups"""
+ assert len(list(self.cache.groups)) == self.cache.group_count
+
+
if __name__ == "__main__":
unittest.main()