def assert_file_content(self, host, filepath, expected):
        content = self.get_file_content(host, filepath)

        split_path = os.path.split(filepath)
        pa_file = None
        if (split_path[0] == '/etc/presto' and
            split_path[1] in ['config.properties',
                              'log.properties',
                              'jvm.config']):
            if self.cluster.slaves in host:
                config_dir = constants.WORKERS_DIR
            else:
                config_dir = constants.COORDINATOR_DIR

            pa_file = os.path.join(config_dir, split_path[1])

        self.assertLazyMessage(
            lambda: self.file_content_message(content, expected, pa_file),
            self.assertEqual,
            content,
            expected)
dataset/ETHPy150Open prestodb/presto-admin/tests/product/base_product_case.py/BaseProductTestCase.assert_file_content/swapped operands of `in`