def test_parse_common_folder_path(): expected = { "folder": "clam", } path = AdGroupAdServiceClient.common_folder_path(**expected) # Check that the path construction is reversible. actual = AdGroupAdServiceClient.parse_common_folder_path(path) assert expected == actual
def test_common_folder_path(): folder = "squid" expected = "folders/{folder}".format(folder=folder, ) actual = AdGroupAdServiceClient.common_folder_path(folder) assert expected == actual