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

Method testEmptyCode

python/tests/test_convert_ast.py:69–75  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

67
68class ParseTest(unittest.TestCase):
69 def testEmptyCode(self):
70 pythonFileNode = splootFromPython('')
71 self.assertEqual(pythonFileNode, {
72 'type': 'PYTHON_FILE',
73 'childSets': {'body': []},
74 'properties': {}
75 })
76
77 def testHelloName(self):
78 self.maxDiff = None

Callers

nothing calls this directly

Calls 1

splootFromPythonFunction · 0.90

Tested by

no test coverage detected