def test_parse_account_budget_proposal_path(): expected = { "customer": "cuttlefish", "account_budget_proposal": "mussel", } path = AccountBudgetProposalServiceClient.account_budget_proposal_path(**expected) # Check that the path construction is reversible. actual = AccountBudgetProposalServiceClient.parse_account_budget_proposal_path(path) assert expected == actual
def test_account_budget_proposal_path(): customer = "oyster" account_budget_proposal = "nudibranch" expected = "customers/{customer}/accountBudgetProposals/{account_budget_proposal}".format(customer=customer, account_budget_proposal=account_budget_proposal, ) actual = AccountBudgetProposalServiceClient.account_budget_proposal_path(customer, account_budget_proposal) assert expected == actual