def test_parsingValues(self):
        argV = ("--fooint 912 --foofloat -823.1 "
                "--eggint 32 --eggfloat 21").split()
        self.usage.parseOptions(argV)
        self.failUnlessEqual(self.usage.opts['fooint'], 912)
        self.assert_(isinstance(self.usage.opts['fooint'], int))
        self.failUnlessEqual(self.usage.opts['foofloat'], -823.1)
        self.assert_(isinstance(self.usage.opts['foofloat'], float))
        self.failUnlessEqual(self.usage.opts['eggint'], 32)
        self.assert_(isinstance(self.usage.opts['eggint'], int))
        self.failUnlessEqual(self.usage.opts['eggfloat'], 21.)
        self.assert_(isinstance(self.usage.opts['eggfloat'], float))
Should parse readResult response XML.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_usage.py/TypedTestCase.test_parsingValues--crossover with--dataset/ETHPy150Open tophatmonocle/ims_lti_py/tests/outcome_response_test.py/TestOutcomeResponse.test_parse_read_result_response_xml