def test_parse_customer_path(): expected = { "customer": "nudibranch", } path = ConversionActionServiceClient.customer_path(**expected) # Check that the path construction is reversible. actual = ConversionActionServiceClient.parse_customer_path(path) assert expected == actual
def test_customer_path(): customer = "oyster" expected = "customers/{customer}".format(customer=customer, ) actual = ConversionActionServiceClient.customer_path(customer) assert expected == actual