def test_container_has_all_leafs(self):
    for leaf in ['e', 'f']:
        with self.subTest(leaf=leaf):
            self.assertTrue(hasattr(self.enum_obj.container, leaf), ('Container does not contain enumeration %s' % leaf))
def test_container_has_all_leafs(self):
    for leaf in ['e', 'f']:
        with self.subTest(leaf=leaf):
            self.assertTrue(hasattr(self.enum_obj.container, leaf), ('Container does not contain enumeration %s' % leaf))