def METHOD_NAME(self):
    self.data_dir = tempfile.mkdtemp()
    database_path = os.path.join(self.data_dir, "mephisto.db")
    assert self.DB_CLASS is not None, "Did not specify db to use"
    self.db = self.DB_CLASS(database_path)
    self.task_run_id = get_test_task_run(self.db)
    self.task_run = TaskRun.get(self.db, self.task_run_id)