def go_to_bed(self, sleep_time):
     job = DummyJob(ScalarResultAggregator(),
                    sleep_time,
                    walltime=60 * 60,
                    memory=1,
                    nodes=1)
     agg = self.engine.submit_job(job)
     return agg
 def go_to_bed(self, sleep_time):
     job = DummyJob(ScalarResultAggregator(), sleep_time)
     agg = self.engine.submit_job(job)
     return agg