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

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

src/c/o/conchoctopus-0.1a1/conchoctopus/test/fabfile.py   conchoctopus(Download)
    def test_LocalSuccess(self):
        out = yield self.local('echo hello')
        self.tc.assertEqual(out, 'hello\n')
        self.tc.assertEqual(out.failed, False)
        self.tc.assertEqual(out.return_code, 0)
 
 
    @defer.inlineCallbacks
    def test_LocalError(self):
        out = yield self.local("unknown")