MCPcopy Index your code
hub / github.com/algorithmiaio/algorithmia-python / test_ls

Method test_ls

Test/regular/CLI_test.py:99–107  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

97 os.mkdir("../TestFiles/")
98
99 def test_ls(self):
100 parentDir = "data://.my/"
101 newDir = "test"
102
103 CLI().mkdir(parentDir + newDir, self.client)
104 result = CLI().ls(parentDir, self.client)
105 self.assertTrue(result is not None and "moredata" in result and newDir in result)
106
107 CLI().rmdir(parentDir + newDir, self.client)
108
109 def test_mkdir(self):
110

Callers

nothing calls this directly

Calls 4

CLIClass · 0.90
mkdirMethod · 0.80
lsMethod · 0.80
rmdirMethod · 0.80

Tested by

no test coverage detected