def test_attributeIterconstantsIdentity(self):
        """
        The constants returned from L{Values.iterconstants} are identical to
        the constants accessible using attributes.
        """
        constants = list(self.STATUS.iterconstants())
        self.assertIs(self.STATUS.OK, constants[0])
        self.assertIs(self.STATUS.NOT_FOUND, constants[1])

        The constants returned from L{Values.iterconstants} are identical to
        the constants accessible using attributes.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_constants.py