45
45
self.diff_writer = StringIO()
47
def expect(self, message, choices, response):
50
50
def prompt(self, message, choices, default):
54
54
raise AssertionError('Unexpected prompt: %s' % message)
55
55
if message != expected_message:
56
56
raise AssertionError('Wrong prompt: %s' % message)
58
58
raise AssertionError('Wrong choices: %s' % choices)