Fixes and tests updates

Updates tests so they run with the db_manager and fixes some bugs introduced in d7d42c9.
This commit is contained in:
Sergi Delgado Segura
2019-10-26 14:13:58 -07:00
parent ee1f024c51
commit f61474216c
9 changed files with 39 additions and 23 deletions

View File

@@ -38,8 +38,8 @@ with open(PISA_SECRET_KEY, "r") as key_file:
@pytest.fixture(scope="module")
def watcher():
return Watcher()
def watcher(db_manager):
return Watcher(db_manager)
def generate_dummy_appointment():