Sergi Delgado Segura
3ee8d9f2cb
Fixes common test imports
2020-02-17 13:06:19 +01:00
Sergi Delgado Segura
02e159faac
Moves EncryptedBlob to common
2020-02-13 16:32:51 +01:00
Sergi Delgado Segura
d447debe54
Temporal fix for Cryptographer logs. Close #91
2020-02-11 20:22:51 +01:00
Sergi Delgado Segura
ab21cbfc8f
Moves load_key_file to Cryptographer and updates pisad to use it
2020-02-10 16:31:48 +01:00
Sergi Delgado Segura
14724ceda9
Adds missing common/tools unit tests and removes pisad tests
...
`test_pisad.py` was only covering config parsing tests, that are now part of `common/tools.py`.
2020-01-23 20:16:32 +01:00
Sergi Delgado Segura
9be2c2475f
Removes logger instance from test_appointment
2020-01-23 18:35:32 +01:00
Sergi Delgado Segura
93cb003360
Setup seed for cli and common unit tests to random values are replicable
2020-01-22 11:12:01 +01:00
Sergi Delgado Segura
680de0b7ac
Update unit tests to use serialize
2019-12-17 16:22:23 +01:00
Sergi Delgado Segura
a69f1ba28b
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
2019-12-17 16:21:54 +01:00
Sergi Delgado Segura
74080bf104
Deletes test file
2019-12-16 13:03:17 +01:00
Sergi Delgado Segura
b07b6759ed
Adds missing cryptographer tests
2019-12-16 12:50:24 +01:00
Sergi Delgado Segura
61663e89d7
Refactors tests folder to separate different modules
...
Each module has a different folder and they do not share methods now. At some point they should be split in different repos
2019-12-16 11:26:51 +01:00