def test_copyToLocal_file_content(self):
        os.mkdir(TESTFILES_PATH)
        target_dir = TESTFILES_PATH % "%s/file1"

        expected_content = self.cluster.cat('/test3')
        for result in self.client.copyToLocal(['/test3'], target_dir):
            self.assertEqual(result['path'], target_dir)

            client_content = self._read_file(target_dir)
            self.assertEqual(client_content, expected_content)

            self.assertEqual(result['result'], True)
dataset/ETHPy150Open spotify/snakebite/test/copytolocal_test.py/CopyToLocalTest.test_copyToLocal_file_content/swapped operands of `%`