MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / write

Method write

unit-tests/test_empty_folders.py:255–259  ·  view source on GitHub ↗
(self, suffix, text)

Source from the content-addressed store, hash-verified

253
254class TestFileFormatValidation(TempFileMixin, TestCase):
255 def write(self, suffix, text):
256 path = self.tmp(suffix)
257 with open(path, 'w', encoding='utf-8') as f:
258 f.write(text)
259 return path
260
261 def test_json_format_given_csv_file(self):
262 path = self.write('.csv', 'EF Test,,,,,,,$empty_folder,true\n')

Calls 1

tmpMethod · 0.80

Tested by

no test coverage detected