(self)
| 9 | |
| 10 | class TextGeneratorTest(unittest.TestCase): |
| 11 | def testHelloWorld(self): |
| 12 | original = "print('Hello, World!')" |
| 13 | sploot = splootFromPython(original) |
| 14 | result = convertSplootToText(sploot) |
| 15 | self.assertEqual(result, original) |
| 16 | |
| 17 | def testFunctionWithDecorator(self): |
| 18 | original = "@app.route('/hello')\ndef hello():\n print('Hello, World!')" |
nothing calls this directly
no test coverage detected