bdd: Make "I run ..." work with PrerequisitesError.

This commit is contained in:
Florian Bruhin 2015-11-09 18:07:51 +01:00
parent 35c36725f2
commit 1aebefca18

View File

@ -177,7 +177,7 @@ class QuteProc(testprocess.Process):
ipc.send_to_running_instance(self._ipc_socket, [command], ipc.send_to_running_instance(self._ipc_socket, [command],
target_arg='') target_arg='')
self.wait_for(category='commands', module='command', function='run', self.wait_for(category='commands', module='command', function='run',
message='Calling *') message='command called: *')
def set_setting(self, sect, opt, value): def set_setting(self, sect, opt, value):
self.send_cmd(':set "{}" "{}" "{}"'.format(sect, opt, value)) self.send_cmd(':set "{}" "{}" "{}"'.format(sect, opt, value))