Commits

fix in CASA5 ia tests that are not in sync, CAS-13018
No tags

casa5/gcwrap/python/scripts/tests/test_ia_fromfits.py

Modified
91 91 myia.tofits(fits)
92 92 myia.done()
93 93 myia.fromfits("", fits)
94 94 msgs = myia.history()
95 95 myia.done()
96 96 teststr = "ia.fromfits"
97 97 self.assertTrue(teststr in msgs[-2], "'" + teststr + "' not found")
98 98 self.assertTrue(teststr in msgs[-1], "'" + teststr + "' not found")
99 99
100 100 imagename = "xx.im"
101 - self.assertTrue(importfits(fitsimage=fits, imagename=imagename))
101 + importfits(fitsimage=fits, imagename=imagename)
102 102 myia.open(imagename)
103 103 msgs = myia.history()
104 104 myia.done()
105 105 teststr = "version"
106 106 self.assertTrue(teststr in msgs[-2], "'" + teststr + "' not found")
107 107 teststr = "importfits"
108 108 self.assertTrue(teststr in msgs[-1], "'" + teststr + "' not found")
109 109
110 110 def suite():
111 111 return [ia_fromfits_test]

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut