def test_defaultValues(self):
        argV = []
        self.usage.parseOptions(argV)
        self.assertEqual(self.usage.opts['fooint'], 392)
        self.assert_(isinstance(self.usage.opts['fooint'], int))
        self.assertEqual(self.usage.opts['foofloat'], 4.23)
        self.assert_(isinstance(self.usage.opts['foofloat'], float))
        self.assertEqual(self.usage.opts['eggint'], None)
        self.assertEqual(self.usage.opts['eggfloat'], None)
Test parsing of default values.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_usage.py/TypedTestCase.test_defaultValues