MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / copyTestFile

Function copyTestFile

tests/bash_tests/utils.py:380–385  ·  view source on GitHub ↗

Copy one test file from data_dir to tmp_dir

(src, dst='')

Source from the content-addressed store, hash-verified

378"""
379
380def copyTestFile(src, dst=''):
381 """ Copy one test file from data_dir to tmp_dir """
382 if not dst:
383 dst = src
384 shutil.copy(os.path.join(Config.data_dir, src),
385 os.path.join(Config.tmp_dir, dst))
386
387
388def diffCheck(file1, file2, in_bytes=False, encoding=None):

Callers 7

eraseTestFunction · 0.85
copyTestFunction · 0.85
iptcTestFunction · 0.85
printTestFunction · 0.85
removeTestFunction · 0.85
addModTestFunction · 0.85
extendedTestFunction · 0.85

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected