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

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

src/q/u/quant-0.8/src/quant/pricer/basetest.py   quant(Download)
    def setUp(self):
        self.assertTrue(self.pricerClass, "Pricer class missing on %s." % self.__class__.__name__)
 
        self.pricer = self.pricerClass(
            strikePrice=self.strikePrice,

src/q/u/quant-0.8/src/quant/dom/booktest.py   quant(Download)
    def test_book(self):
        self.assertTrue(self.book)
        self.assertEqual(len(self.book.getContracts()), 2)
 
 

src/q/u/quant-0.8/src/quant/dom/resulttest.py   quant(Download)
    def test_result(self):
        self.assertTrue(self.result)
        self.assertTrue(len(self.result.lines))