def test_common_billing_account_path():
    billing_account = "winkle"
    expected = "billingAccounts/{billing_account}".format(
        billing_account=billing_account, )
    actual = RecommendationServiceClient.common_billing_account_path(
        billing_account)
    assert expected == actual
def test_parse_common_billing_account_path():
    expected = {
        "billing_account": "nautilus",
    }
    path = RecommendationServiceClient.common_billing_account_path(**expected)

    # Check that the path construction is reversible.
    actual = RecommendationServiceClient.parse_common_billing_account_path(
        path)
    assert expected == actual