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

Function iptcTest

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

Source from the content-addressed store, hash-verified

610
611
612def iptcTest(num, src, good):
613 test_file = '{}.i{}tst'.format(good, num)
614 src_file = os.path.join(Config.data_dir, src)
615 good_file = os.path.join(Config.data_dir, '{}.i{}gd'.format(good, num))
616 copyTestFile(good, test_file)
617 Executer('metacopy -ip {src_file} {test_file}', vars())
618 return diffCheck(good_file, test_file, in_bytes=True)
619
620
621def printTest(filename):

Callers

nothing calls this directly

Calls 3

copyTestFileFunction · 0.85
ExecuterClass · 0.85
diffCheckFunction · 0.85

Tested by

no test coverage detected