def test_parse_geo_target_constant_path(): expected = { "geo_target_constant": "nautilus", } path = ClickViewServiceClient.geo_target_constant_path(**expected) # Check that the path construction is reversible. actual = ClickViewServiceClient.parse_geo_target_constant_path(path) assert expected == actual
def test_geo_target_constant_path(): geo_target_constant = "winkle" expected = "geoTargetConstants/{geo_target_constant}".format(geo_target_constant=geo_target_constant, ) actual = ClickViewServiceClient.geo_target_constant_path(geo_target_constant) assert expected == actual