X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2FtestSuite.py;h=cbde0e9bd9b08632ec2b48613e08fbf4b3cdf8fd;hb=09f5bc8993ebabc6af98370630d2ea64649d5a39;hp=32627872c50957107b197e3ca0a61217cd6989a9;hpb=34a471bea70a384767359164ef244ab08b1b842d;p=gdcm.git diff --git a/gdcmPython/testSuite.py b/gdcmPython/testSuite.py index 32627872..cbde0e9b 100644 --- a/gdcmPython/testSuite.py +++ b/gdcmPython/testSuite.py @@ -540,7 +540,7 @@ class gdcmTestCase(unittest.TestCase): assert reader.IsReadable(),\ "File '%s' is not readable by gdcmHeader" % fileName - valDict = reader.GetPubElVal() + valDict = reader.GetEntry() for subEntry in entry[1]: element = subEntry[0] value = subEntry[1] @@ -568,8 +568,8 @@ class gdcmTestCase(unittest.TestCase): Source.GetImageData() TargetFileName = "junk" Target = Source.WriteDcmImplVR(TargetFileName) - # Sign = 'c3d27238647b7eaa773bff6ea0692b54' # old signature in the file - Sign = 'a1e2abdc2f6abedd86b93c8b88db5203' # new signature (found on Win) +# Sign = 'a1e2abdc2f6abedd86b93c8b88db5203' # new signature (found on Win) + Sign = '849e722e004d3bb37b87ab6006509b8f' # new signature without field strip ComputeSign = md5.new(open(TargetFileName).read()).hexdigest() self.assertEqual(ComputeSign, Sign, ("Wrong signature for file %s (got %s, shoud be %s)"