MCPcopy Create free account
hub / github.com/SplootCode/splootcode / testHelloWorld

Method testHelloWorld

python/tests/test_text_generator.py:11–15  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9
10class 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!')"

Callers

nothing calls this directly

Calls 2

splootFromPythonFunction · 0.90
convertSplootToTextFunction · 0.90

Tested by

no test coverage detected