def test_entities_list(self): assert len(list(entities_list(root(self.t2)))) == 1032 assert len(list(entities_list(None))) == 0