Commit bf2c3650 authored by payno's avatar payno
Browse files

remove some warnings: use assertEqual instead of assertEquals

parent ee14be01
......@@ -81,7 +81,7 @@ class TestHDF5Scan(HDF5TestBaseClass):
url_1 = proj_angles[0]
self.assertTrue(url_1.is_valid())
self.assertTrue(url_1.is_absolute())
self.assertEquals(url_1.scheme(), 'silx')
self.assertEqual(url_1.scheme(), 'silx')
# check conversion to dict
_dict = self.scan.to_dict()
scan2 = HDF5TomoScan.from_dict(_dict)
......@@ -180,10 +180,10 @@ class TestHDF5Scan(HDF5TestBaseClass):
self.assertEqual(self.scan.tomo_n, 1500)
radios_urls_evolution = self.scan.get_proj_angle_url()
self.assertEquals(len(radios_urls_evolution), 1503)
self.assertEquals(radios_urls_evolution[0].file_path(), self.scan.master_file)
self.assertEquals(radios_urls_evolution[0].data_slice(), 22)
self.assertEquals(radios_urls_evolution[0].data_path(), 'entry0000/instrument/detector/data')
self.assertEqual(len(radios_urls_evolution), 1503)
self.assertEqual(radios_urls_evolution[0].file_path(), self.scan.master_file)
self.assertEqual(radios_urls_evolution[0].data_slice(), 22)
self.assertEqual(radios_urls_evolution[0].data_path(), 'entry0000/instrument/detector/data')
def testDarkRefUtils(self):
self.assertEqual(self.scan.tomo_n, 1500)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment