def _run_command_compare_to_file(self, command, exit_status, filename):
        current_dir = os.path.abspath(os.path.dirname(__file__))
        expected_path = os.path.join(current_dir, filename)
        input_file = open(expected_path, 'r')
        text = "".join(input_file.readlines())
        input_file.close()
        self._run_command_compare_to_string(command, exit_status,
                                            stdout_text=text)
Fetch an artifact from a Jenkins job.
dataset/ETHPy150Open prestodb/presto-admin/tests/unit/test_main.py/BaseMainCase._run_command_compare_to_file--crossover with--dataset/ETHPy150Open dropbox/changes/changes/backends/jenkins/builder.py/JenkinsBuilder.fetch_artifact