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