'Trying to reply to a locked thread should raise an exception.'

def test_locked_thread(self):

    locked = ThreadFactory(is_locked=True)
    with self.assertRaises(ThreadLockedError):
        locked.new_post(creator=locked.creator, content='foo')
