129
129
# Define an helper to change the question status easily.
130
130
>>> def setQuestionStatus(question, new_status):
131
131
... login('foo.bar@canonical.com')
132
... msg = question.setStatus(foo_bar, new_status, 'Status Change',
132
... question.setStatus(foo_bar, new_status, 'Status Change',
133
133
... datecreated=now.next())
134
134
... login('no-priv@canonical.com')