

def test_something(self):
    test_string = 'Hi!'
    self.set_writer('{}\n'.format(test_string))
    self.output = subprocess.check_output(self.args, **self.kwd)
    self.assertEqual(test_string, self.output, 'string input test')

dataset/ETHPy150Open aroberge/easygui_qt/tests/test_easygui_qt.py TestTextInput.test_something/original