def test_runInvalidOptions(self):
        self.patch(sys, 'argv', ["nit", "--foo"])
        self.assertRaises(SystemExit, nit.run)
L{nit.run} raises L{SystemExit} if invalid options are used.
dataset/ETHPy150Open twisted/nevow/nevow/test/test_nit.py/NevowInteractiveTesterTest.test_runInvalidOptions