fixes for unit tests, back to 50/51 passing.

This commit is contained in:
fawce
2012-08-07 14:42:43 -04:00
parent 804bcb4e0c
commit aeb50da170
12 changed files with 56 additions and 58 deletions
+6 -1
View File
@@ -162,8 +162,13 @@ class SimulatedTrading(object):
finally:
self.close()
def signal_done(self):
# notify monitor we're done
done_frame = zp.DONE_FRAME('succes')
self.results_socket.send(done_frame)
def close(self):
log.info("Closing Simulation")
log.info("Closing Simulation: {id}".format(id=self.sim_id))
def cancel(self):
if self.proc and self.proc.is_alive():