Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)

src/p/t/ptah_crowd-0.1/ptah_crowd/tests/test_module.py   ptah_crowd(Download)
                                ('term', 'search term')))))
        form.csrf = False
        res = form.update()
 
        self.assertIn('ptah-search-term', form.request.session)
                POST=MultiDict((('form.buttons.clear', 'Clear'),))))
        form.csrf = False
        form.update()
 
        self.assertNotIn('ptah-search-term', form.request.session)
                POST=MultiDict((('form.buttons.search', 'Search'),))))
        form.csrf = False
        form.update()
 
        self.assertIn('Please specify search term',
 
        form.csrf = False
        form.update()
        transaction.commit()
 
                                ('suspend', 'suspend')))))
        form.request.POST[form.csrfname] = form.request.session.get_csrf_token()
        form.update()
 
        self.assertIn('Selected accounts have been suspended.',