MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / getRootPath

Function getRootPath

src/sdk/python/fesql-auto-test-python/util/tools.py:27–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 return casePath
26
27def getRootPath():
28 currentPath = os.getcwd()
29 index = currentPath.rfind('fesql-auto-test-python')
30 prePath = currentPath[0:index]
31 rootPath = prePath + "fesql-auto-test-python"
32 return rootPath
33
34def getAbsolutePath(path:str):
35 rootPath = getRootPath()

Callers 2

getAbsolutePathFunction · 0.85
tools.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected