def test_countable(self):
    c = Collection(['foo', 'bar'])
    self.assertEqual(2, c.count())
    self.assertEqual(2, len(c))
def test_countable(self):
    c = Collection(['foo', 'bar'])
    self.assertEqual(2, c.count())
    self.assertEqual(2, len(c))