def test_google_ads_field_path(): google_ads_field = "squid" expected = "googleAdsFields/{google_ads_field}".format( google_ads_field=google_ads_field, ) actual = GoogleAdsFieldServiceClient.google_ads_field_path( google_ads_field) assert expected == actual
def test_parse_google_ads_field_path(): expected = { "google_ads_field": "clam", } path = GoogleAdsFieldServiceClient.google_ads_field_path(**expected) # Check that the path construction is reversible. actual = GoogleAdsFieldServiceClient.parse_google_ads_field_path(path) assert expected == actual