소스 검색

fix result code

Peter Bieringer 1 년 전
부모
커밋
92e5032278
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      radicale/tests/test_storage.py

+ 1 - 1
radicale/tests/test_storage.py

@@ -82,7 +82,7 @@ class TestMultiFileSystem(BaseTest):
     def test_hook_fail(self) -> None:
         """Verify that a request succeeded if the hook still fails (anyhow no rollback implemented)."""
         self.configure({"storage": {"hook": "exit 1"}})
-        self.mkcalendar("/calendar.ics/", check=200)
+        self.mkcalendar("/calendar.ics/", check=201)
 
     def test_item_cache_rebuild(self) -> None:
         """Delete the item cache and verify that it is rebuild."""