Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
billyrrr committed Apr 18, 2020
1 parent 01c6a97 commit 629fd8d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ def pytest_sessionstart(session):
_delete_all(CTX, "counters")
_delete_all(CTX, "hellos")

_delete_all(CTX, subcollection_name="MeetingSessionDAV_PATCH")
_delete_all(CTX, subcollection_name="_PATCH_UserViewDAV")
_delete_all(CTX, subcollection_name="MeetingSessionDAV")


def pytest_sessionfinish(session, exitstatus):
from flask_boiler.context import Context as CTX
Expand All @@ -49,3 +53,7 @@ def pytest_sessionfinish(session, exitstatus):
_delete_all(CTX, "categories")
_delete_all(CTX, "counters")
_delete_all(CTX, "hellos")

_delete_all(CTX, subcollection_name="MeetingSessionDAV_PATCH")
_delete_all(CTX, subcollection_name="_PATCH_UserViewDAV")
_delete_all(CTX, subcollection_name="MeetingSessionDAV")

0 comments on commit 629fd8d

Please sign in to comment.