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)
def generate_md5(self): """generates the md5 checksum of the UI file """ return utils.md5_checksum(self.full_path).replace('\n', '')
def generate_md5(self): """generates the md5 checksum of the UI file """ return utils.md5_checksum(self.full_path)