def test_get_user_locked_ignore_lock(self):
        """Test get_user with a locked user, but ignore the lock."""
        user = self.factory.make_user(locked=True)
        nuser = self.gw.get_user(
            user.id, session_id='QWERTY', ignore_lock=True)
        self.assertEqual(user.id, nuser.id)