def test_ad_group_ad_asset_view_path():
    customer = "oyster"
    ad_group_ad_asset_view = "nudibranch"
    expected = "customers/{customer}/adGroupAdAssetViews/{ad_group_ad_asset_view}".format(
        customer=customer,
        ad_group_ad_asset_view=ad_group_ad_asset_view,
    )
    actual = AdGroupAdAssetViewServiceClient.ad_group_ad_asset_view_path(
        customer, ad_group_ad_asset_view)
    assert expected == actual
def test_parse_ad_group_ad_asset_view_path():
    expected = {
        "customer": "cuttlefish",
        "ad_group_ad_asset_view": "mussel",
    }
    path = AdGroupAdAssetViewServiceClient.ad_group_ad_asset_view_path(
        **expected)

    # Check that the path construction is reversible.
    actual = AdGroupAdAssetViewServiceClient.parse_ad_group_ad_asset_view_path(
        path)
    assert expected == actual