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

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

src/l/e/learnpython.in.ua-HEAD/learnpython/tests/test_flasktesting.py   learnpython.in.ua(Download)
            response = self.client.post(self.contacts_url, data=data)
 
            self.assert200(response)
            self.assertIn(
                'Cannot submit form! Please, fix errors below:', response.data
 
        response = self.client.get(url)
        self.assert200(response)
        self.assertIn(u'<h2>{0}</h2>'.format(page['title']), response.udata)
 
    def test_flows(self):
        flows = filter(lambda page: page.path.startswith('flows/'), pages)
        response = self.client.get(self.flows_url)
        self.assert200(response)
 
 
        response = self.client.get(self.index_url)
        self.assert200(response)
 
        for url in urls:
    def test_static(self):
        url = self.url('static', filename='css/screen.css')
        response = self.client.get(url)
        self.assert200(response)
 

src/l/e/learnpython.in.ua-HEAD/learnpython/tests/test_webtest.py   learnpython.in.ua(Download)
 
            response = form.submit()
            self.assert200(response)
            self.assertTrue(response.pyquery('form > p.error'))
            self.assertTrue(response.pyquery('form > p.error-line'))