예제 #1
0
 def test_md5_attribute_is_calculated_correctly(self):
     """testing if the md5 of the uic file is correctly calculated
     """
     expected_value = utils.md5_checksum(self.test_uicFile_path)
     self.assertEqual(expected_value, self.test_uicFile.md5)
예제 #2
0
 def generate_md5(self):
     """generates the md5 checksum of the UI file
     """
     return utils.md5_checksum(self.full_path).replace('\n', '')
예제 #3
0
 def test_md5_attribute_is_calculated_correctly(self):
     """testing if the md5 of the uic file is correctly calculated
     """
     expected_value = utils.md5_checksum(self.test_uicFile_path)
     self.assertEqual(expected_value, self.test_uicFile.md5)
예제 #4
0
 def generate_md5(self):
     """generates the md5 checksum of the UI file
     """
     return utils.md5_checksum(self.full_path)