def test_get_attr_raises_exception_if_can_not_find_attr(self): with self.assertRaises(AttributeError): Collection._()