def test_invalidWidgetOption(self):
        options = widgetServiceMaker.options()
        self.assertRaises(
            UsageError,
            options.parseOptions, ['--element', qual(DummyLiveElement) + 'xxx'])
        self.assertRaises(
            UsageError,
            options.parseOptions, ['--element', '-'])
Verify that specifying a non-existent class is rejected.
dataset/ETHPy150Open twisted/nevow/nevow/test/test_athena.py/WidgetSubcommandTests.test_invalidWidgetOption