def test_parse_asset_path():
    expected = {
        "customer_id": "cuttlefish",
        "asset_id": "mussel",
    }
    path = AdGroupAdAssetViewServiceClient.asset_path(**expected)

    # Check that the path construction is reversible.
    actual = AdGroupAdAssetViewServiceClient.parse_asset_path(path)
    assert expected == actual
def test_asset_path():
    customer_id = "oyster"
    asset_id = "nudibranch"
    expected = "customers/{customer_id}/assets/{asset_id}".format(customer_id=customer_id, asset_id=asset_id, )
    actual = AdGroupAdAssetViewServiceClient.asset_path(customer_id, asset_id)
    assert expected == actual