Esempio n. 1
0
def test_parse_common_folder_path():
    expected = {
        "folder": "nautilus",
    }
    path = IncomeRangeViewServiceClient.common_folder_path(**expected)

    # Check that the path construction is reversible.
    actual = IncomeRangeViewServiceClient.parse_common_folder_path(path)
    assert expected == actual
Esempio n. 2
0
def test_common_folder_path():
    folder = "winkle"
    expected = "folders/{folder}".format(folder=folder, )
    actual = IncomeRangeViewServiceClient.common_folder_path(folder)
    assert expected == actual