def setUp(self): self.command = MagmaCommand() init_user_db() self.command.job_factory = JobFactory('/dev/null')