def test_read(self): tax_rates = TaxRate.all(max_results=1, qb=self.qb_client) self.assertEquals(len(tax_rates), 1)
def test_unicode(self): tax = TaxRate() tax.Name = "test" self.assertEquals(unicode(tax), "test")
def test_valid_object_name(self): obj = TaxRate() client = QuickBooks() result = client.isvalid_object_name(obj.qbo_object_name) self.assertTrue(result)
def test_unicode(self): tax = TaxRate() tax.Name = "test" self.assertEquals(str(tax), "test")