Test implicit creation of principal collection

Test for 81b04890f1
This commit is contained in:
Unrud 2016-08-11 00:23:05 +02:00
parent 62892e3423
commit 97edacd71a

View File

@ -728,6 +728,12 @@ class BaseRequestsMixIn:
assert "href>/calendar.ics/journal1.ics</" not in answer assert "href>/calendar.ics/journal1.ics</" not in answer
assert "href>/calendar.ics/journal2.ics</" not in answer assert "href>/calendar.ics/journal2.ics</" not in answer
def test_principal_collection_creation(self):
"""Verify existence of the principal collection."""
status, headers, answer = self.request(
"GET", "/user/", REMOTE_USER="user")
assert status == 200
class BaseFileSystemTest(BaseTest): class BaseFileSystemTest(BaseTest):
"""Base class for filesystem backend tests.""" """Base class for filesystem backend tests."""