Adds register unit tests, missing add and get appointment tests and sets MAX_APPOINTMENTS to 100 for testing

This commit is contained in:
Sergi Delgado Segura
2020-03-27 14:50:03 +01:00
parent 772f634d1f
commit 7e6a4849e6
2 changed files with 87 additions and 10 deletions

View File

@@ -83,7 +83,6 @@ class API:
self.watcher = watcher
self.gatekeeper = gatekeeper
# TODO: UNITTEST
def register(self):
"""
Registers a user by creating a subscription.