Adds appointment unit test

This commit is contained in:
Sergi Delgado Segura
2019-10-09 15:19:33 +01:00
parent ecadbc62ef
commit ab72c71039
2 changed files with 48 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ from pisa.encrypted_blob import EncryptedBlob
# Basic appointment structure
class Appointment:
# TODO: 35-appointment-checks
def __init__(self, locator, start_time, end_time, dispute_delta, encrypted_blob, cipher, hash_function):
self.locator = locator
self.start_time = start_time # ToDo: #4-standardize-appointment-fields