Moves appointment to common and creates serialize

Appointment serialization used to be part of the cryptographer (signature_format) but it makes more sense to be an appointment method. Therefore cli also need Appointment

Also fixes comments based on reviews
This commit is contained in:
Sergi Delgado Segura
2019-12-17 15:09:49 +01:00
parent 5c01bec89c
commit a69f1ba28b
3 changed files with 25 additions and 22 deletions

View File

@@ -2,7 +2,7 @@ import json
from pytest import fixture
from pisa import c_logger
from pisa.appointment import Appointment
from common.appointment import Appointment
from pisa.encrypted_blob import EncryptedBlob
from test.pisa.unit.conftest import get_random_value_hex