| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -194,3 +194,17 @@ def test_group_subgroups_projects(gl, user): | |||
| 194 | 194 | assert group4.parent_id == group2.id | |
| 195 | 195 | assert gr1_project.namespace["id"] == group1.id | |
| 196 | 196 | assert gr2_project.namespace["parent_id"] == group1.id | |
| 197 | + | ||
| 198 | + | ||
| 199 | + def test_group_wiki(group): | ||
| 200 | + content = "Group Wiki page content" | ||
| 201 | + wiki = group.wikis.create({"title": "groupwikipage", "content": content}) | ||
| 202 | + assert len(group.wikis.list()) == 1 | ||
| 203 | + | ||
| 204 | + wiki = group.wikis.get(wiki.slug) | ||
| 205 | + assert wiki.content == content | ||
| 206 | + | ||
| 207 | + wiki.content = "new content" | ||
| 208 | + wiki.save() | ||
| 209 | + wiki.delete() | ||
| 210 | + assert len(group.wikis.list()) == 0 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments