def METHOD_NAME(self, path1, path2):
    similarity = compareImages(path1, path2)
    self.assertLessEqual(similarity, 0.0012, "Images %r and %s are not similar enough: %s" % (path1, path2, similarity))