Explorar el Código

fix result code

Peter Bieringer hace 1 año
padre
commit
92e5032278
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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."""