def test_missingJavaScriptClass(self):
        result = TestResult()
        self.case.testMethod = lambda: "Nevow.Test.NoSuchModule"
        self.case.run(result)
        self.assertEqual(len(result.errors), 1)
If a JavaScript class required by the test code is unavailable, an
dataset/ETHPy150Open twisted/nevow/nevow/test/test_testutil.py/JavaScriptTests.test_missingJavaScriptClass