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

Method test_get_str

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

Source from the content-addressed store, hash-verified

26 self.assertFalse(retrieved_file)
27
28 def test_get_str(self):
29 df = self.client.file('data://.my/nonexistant/nonreal')
30 try:
31 print(df.getString())
32 retrieved_file = True
33 except Exception as e:
34 retrieved_file = False
35 self.assertFalse(retrieved_file)
36
37 def test_set_attributes(self):
38 df = DataFile(self.client, 'data://.my/empty')

Callers

nothing calls this directly

Calls 2

fileMethod · 0.45
getStringMethod · 0.45

Tested by

no test coverage detected