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

Method test_rmdir

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

Source from the content-addressed store, hash-verified

118 CLI().rmdir(parentDir + newDir, self.client)
119
120 def test_rmdir(self):
121 parentDir = "data://.my/"
122 newDir = "testRmdir"
123
124 CLI().mkdir(parentDir + newDir, self.client)
125 result = CLI().ls(parentDir, self.client)
126 self.assertTrue(newDir in result)
127
128 CLI().rmdir(parentDir + newDir, self.client)
129
130 result = CLI().ls(parentDir, self.client)
131 self.assertTrue(newDir not in result)
132
133 def test_cat(self):
134 file = "data://.my/moredata/test.txt"

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