

def _check_outputs(self):
    output1 = os.path.join(self._working_directory, 'output1')
    output_test2 = os.path.join(self._working_directory, 'output_test2')
    assert (open(output1, 'r').read() != self._working_directory)
    assert (open(output_test2, 'r').read() == 'Hello World!')

dataset/ETHPy150Open galaxyproject/pulsar/test/script_run_test.py ScriptRunTestCase._check_outputs/original