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

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

src/p/y/python-hipay-HEAD/tests.py   python-hipay(Download)
        mta.setTaxes(mestax)        
        data = [{'price':100, 'first':'true','paymentDelay':'1D', 'tax':mta},{'price':100, 'first':'false','paymentDelay':'1M', 'tax':mta}]
        inst.setInstallements(data)
        self.assertEqual(hashlib.sha224(ET.tostring(inst.asTree().getroot())).hexdigest(),
                         '12c360c2946a1570cd603aff58c093965785a3a7696f75a05c6c18e2')
        mta.setTaxes(mestax)        
        inst_data = [{'price':100, 'first':'true','paymentDelay':'1D', 'tax':mta},{'price':100, 'first':'false','paymentDelay':'1M', 'tax':mta}]
        inst.setInstallements(inst_data)
 
        pay = hipay.HiPay(s)        
        mta.setTaxes(mestax)        
        inst_data = [{'price':100, 'first':'true','paymentDelay':'1D', 'tax':mta},{'price':100, 'first':'false','paymentDelay':'1M', 'tax':mta}]
        inst.setInstallements(inst_data)
 
        pay = hipay.HiPay(s)