Commit Graph

22 Commits

Author SHA1 Message Date
Sergi Delgado Segura
c05f96b738 tests - Adds e2e tests to cover the cache 2020-05-22 18:25:08 +02:00
Sergi Delgado Segura
4c1f95ca77 e2e - updates e2e tests 2020-04-22 14:56:25 +02:00
Sergi Delgado Segura
5f7a909804 user_pk/client_pk -> user_id and cli/client -> user (when it does not reffer to the software) 2020-04-21 19:05:20 +02:00
Sergi Delgado Segura
7e800ade4a Fixes E2E tests 2020-04-20 18:09:08 +02:00
Sergi Delgado Segura
5c35ff1249 Fixes tests 2020-04-20 17:30:17 +02:00
Sergi Delgado Segura
08701f0fee Refactors Cryptographer to remove logs and avoid multi return types
Cryptographer now uses exceptions to report errors and does not use the log anymore
2020-04-20 17:30:16 +02:00
Sergi Delgado Segura
71507d4c32 Gets rid of blob classes. Close #66 2020-04-20 17:30:16 +02:00
Sergi Delgado Segura
e4cd453860 Fixes test_appointment_malformed_penalty 2020-04-20 17:21:58 +02:00
Sergi Delgado Segura
bed21e9625 Adds API HOST and PORT as configurable parameters.
Uses API_BIND/API_PORT for the server and API_CONNECT/API_PORT for the user, for consistency.
2020-04-20 17:01:55 +02:00
Sergi Delgado Segura
2be433d589 Refactors cli to avoid multi-type returns (normal return + None). Adds exceptions for errors. 2020-04-20 17:00:49 +02:00
Sergi Delgado Segura
4a65b2524b Refactors cli to avoid multi-type returns (normal return + None). Adds exceptions for errors. 2020-04-20 16:06:38 +02:00
Turtle
ad078cf3af Test get_all_appointments e2e 2020-04-17 15:29:01 -04:00
Sergi Delgado Segura
10e856ae74 Fixes typos according to the review 2020-04-03 16:38:46 +02:00
Sergi Delgado Segura
f31f356a1a Adapts tests to use userDB and registered_users content as dict 2020-04-01 18:27:27 +02:00
Sergi Delgado Segura
0364dba5ca Fixes e2e tests to match the user authentication apporach
Last two tests are patched, user data must be stored between restarts
2020-03-31 16:56:52 +02:00
Sergi Delgado Segura
b56123055d Adds flake8 and fixes style issues 2020-03-31 13:06:44 +02:00
Sergi Delgado Segura
6ee04bd303 Sets add_appointment_endpoint from / to /add_appointment for consistency
Also passes the base_url to add_appointment and get_appointment and builds the full endpoint inside (also for consistency)
2020-03-24 19:03:41 +01:00
Sergi Delgado Segura
4071a689af Updates e2e to match 635da6447d887d7df9387e1eda63eda2e9a7d577 2020-03-23 17:15:46 +01:00
Sergi Delgado Segura
e9f442d419 Refactors e2e tests to match the new config approach 2020-03-21 22:52:38 +01:00
Sergi Delgado Segura
5e5ff0278a Removes apps folder 2020-03-18 12:09:58 +01:00
Sergi Delgado Segura
a9e7eeb7f5 Reenables keys in e2e and removes monkeypatching 2020-03-18 00:19:48 +01:00
Sergi Delgado Segura
7c7ff909d7 pisa -> teos 2020-03-17 15:47:38 +01:00