

def test_valid_wiki_title(self):
    project = ProjectFactory()
    wiki = NodeWikiFactory(node=project, is_current=True)
    page_name = wiki.page_name
    main()
    page_name.reload()
    assert_equal(page_name, wiki.page_name)
    assert_in(page_name, project.wiki_pages_current)
    assert_in(page_name, project.wiki_pages_versions)

dataset/ETHPy150Open CenterForOpenScience/osf.io/scripts/tests/test_remove_wiki_title_forward_slashes.py TestRemoveWikiTitleForwardSlashes.test_valid_wiki_title/VarMisuse@39/51 `wiki`->`page_name`