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

Method setUp

Test/regular/datafile_test.py:14–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12
13class DataFileTest(unittest.TestCase):
14 def setUp(self):
15 self.client = Algorithmia.client()
16 if not self.client.dir("data://.my/empty").exists():
17 self.client.dir("data://.my/empty").create()
18
19 def test_get_nonexistant(self):
20 df = self.client.file('data://.my/nonexistant/nonreal')

Callers

nothing calls this directly

Calls 3

existsMethod · 0.45
dirMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected