def test_ad_with_all_urls(self):
        '''Test that ad page throws Error #1003 with no url vars.'''
        args = '&'.join([
            self.assignment_id % 'assignmentId=debug%s',
            'workerId=debug%s' % self.worker_id,
            'hitId=debug%s' % self.hit_id,
            'mode=sandbox'])
        rv = self.app.get('/ad?%s' % args)
        assert 'Thank you for accepting this HIT!' in rv.data
dataset/ETHPy150Open NYUCCL/psiTurk/test_psiturk.py/PsiTurkStandardTests.test_ad_with_all_urls/swapped operands of `%`