def test_get_party_shipping_address2(self): address = get_party_shipping_address("Customer", "_Test Customer 2") self.assertEqual(address, "_Test Shipping Address 2 Title-Shipping")
def test_get_party_shipping_address2(self): address = get_party_shipping_address('Customer', '_Test Customer 2') self.assertEqual(address, '_Test Shipping Address 2 Title-Shipping')
def get_address_name(ref_doctype, docname): # Return address name return get_party_shipping_address(ref_doctype, docname)