def test_greyscale_with_path(self):
     paths = [TEST_IMG_PATH_1, TEST_IMG_PATH_2, TEST_GREY_IMG_PATH]
     os.makedirs(TEST_SAVE_FOLDER)
     result_paths = images2grey.greyscale(paths, TEST_SAVE_FOLDER)
     self.assertEqual(len(result_paths), len(paths))
     for path in result_paths:
         self.assertTrue(self.check_greyscale(path))
 def test_greyscale(self):
     paths = [TEST_IMG_PATH_1, TEST_IMG_PATH_2, TEST_GREY_IMG_PATH]
     result_paths = images2grey.greyscale(paths, "")
     for path in result_paths:
         self.assertTrue(path in paths)
         self.assertTrue(self.check_greyscale(path))