(self, site)
| 4 | @pytest.mark.usefixtures("resetSettings") |
| 5 | class TestSiteStorage: |
| 6 | def testWalk(self, site): |
| 7 | # Rootdir |
| 8 | walk_root = list(site.storage.walk("")) |
| 9 | assert "content.json" in walk_root |
| 10 | assert "css/all.css" in walk_root |
| 11 | |
| 12 | # Subdir |
| 13 | assert list(site.storage.walk("data-default")) == ["data.json", "users/content-default.json"] |
| 14 | |
| 15 | def testList(self, site): |
| 16 | # Rootdir |