Skip to content

Commit

Permalink
100% coverage for sample.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Jul 27, 2017
1 parent f78b8aa commit df304d6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/zope/container/tests/test_icontainer.py
Expand Up @@ -100,6 +100,13 @@ def test_len(self):
container, data = self.__setUp()
self.assertEqual(len(container), len(data))

def test_iter(self):
container = self.makeTestObject()
self.assertEqual(list(container), [])

container, data = self.__setUp()
self.assertEqual(len(list(container)), len(data))

def test_items(self):
# See interface IReadContainer
container = self.makeTestObject()
Expand Down

0 comments on commit df304d6

Please sign in to comment.