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

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)
Check that the expression is true.

src/w/e/WebCore-HEAD/tests/test_rest.py   WebCore(Download)
            RESTMethod()
            self.assertEquals(len(w), 1)
            self.assertTrue(issubclass(w[-1].category, DeprecationWarning))
            self.assertTrue("HTTPMethod" in str(w[-1].message))
            self.assertTrue("RESTMethod" in str(w[-1].message))
            self.assertTrue("deprecated" in str(w[-1].message))

src/w/e/WebCore-HEAD/tests/test_auth.py   WebCore(Download)
    def test_get_method_shallow(self):
        foo = self.wa.get_method('web.core.application:Application')
        self.assertTrue(isinstance(foo(app_root), web.core.Application))
 
    def test_get_method_deep(self):