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

Method tmp

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

Source from the content-addressed store, hash-verified

48
49class TempFileMixin:
50 def tmp(self, suffix):
51 fd, path = tempfile.mkstemp(suffix=suffix)
52 os.close(fd)
53 self.addCleanup(os.remove, path)
54 return path
55
56
57class TestJsonEmptyFolders(TempFileMixin, TestCase):

Callers 11

test_round_tripMethod · 0.80
test_round_tripMethod · 0.80
import_rowsMethod · 0.80
test_bitwardenMethod · 0.80
test_round_tripMethod · 0.80
run_importMethod · 0.80
writeMethod · 0.80

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected