def test_unknownOrder(self):
        """
        An unknown order passed to --order raises a L{UsageError}.
        """

        self.assertRaises(
            UsageError, self.config.parseOptions, ["--order", "I don't exist"])

        An unknown order passed to --order raises a L{UsageError}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/trial/test/test_script.py