def test_ad_no_url_vars(self):
        '''Test that ad page throws Error #1001 with no url vars.'''
        rv = self.app.get('/ad')
        assert '<b>Error</b>: 1001' in rv.data
dataset/ETHPy150Open NYUCCL/psiTurk/test_psiturk.py/PsiTurkStandardTests.test_ad_no_url_vars/original