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