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

Function copyTest

tests/bash_tests/utils.py:603–609  ·  view source on GitHub ↗
(num, src, good)

Source from the content-addressed store, hash-verified

601
602
603def copyTest(num, src, good):
604 test_file = '{}.c{}tst'.format(good, num)
605 src_file = os.path.join(Config.data_dir, src)
606 good_file = os.path.join(Config.data_dir, '{}.c{}gd'.format(good, num))
607 copyTestFile(good, test_file)
608 Executer('metacopy -a {src_file} {test_file}', vars())
609 return diffCheck(good_file, test_file, in_bytes=True)
610
611
612def iptcTest(num, src, good):

Callers

nothing calls this directly

Calls 3

copyTestFileFunction · 0.85
ExecuterClass · 0.85
diffCheckFunction · 0.85

Tested by

no test coverage detected