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

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

src/l/e/learnpython.in.ua-HEAD/learnpython/tests/test_flasktesting.py   learnpython.in.ua(Download)
    def check_page(self, name, url):
        page = pages.get(name)
        self.assertIsNotNone(page)
 
        response = self.client.get(url)

src/l/e/learnpython.in.ua-HEAD/learnpython/tests/test_webtest.py   learnpython.in.ua(Download)
    def check_page(self, name, url):
        page = pages.get(name)
        self.assertIsNotNone(page)
 
        response = self.webtest.get(url, status=200)

src/l/e/learnpython.in.ua-HEAD/learnpython/tests/test_data.py   learnpython.in.ua(Download)
    def check_page(self, mixed):
        page = pages.get(mixed) if isinstance(mixed, basestring) else mixed
        self.assertIsNotNone(page)
 
        self.assertIn('title', page.meta)

src/l/e/learnpython.in.ua-HEAD/learnpython/tests/test_twill.py   learnpython.in.ua(Download)
    def check_page(self, name, url):
        page = pages.get(name)
        self.assertIsNotNone(page)
 
        with Twill(self.app, port=self.port) as (t, c):