corso-python-prato / share-system-team2

Apache License 2.0
2 stars 9 forks source link

Pending user integration #56

Closed Roxana28 closed 10 years ago

Roxana28 commented 10 years ago

Pending users are now saved on disk. Every user saved on disk (into userdata.json file) has a flag called "activated" which is True when a PUT request with an equivalent activation code is made, and False when a POST request is made. Therefore, some refactoring was made regarding "create_user" function which becomes "activate_user" and now activates an already existing but inactive user. On the other hand, the tests were also improved to test new functionalities like "test_creation_inactive_user", "test_repeated_post".

coveralls commented 10 years ago

Coverage Status

Coverage increased (+0.26%) when pulling d311c2f2d620978336f83831ad77f3cc12850f6f on Roxana28:pending_user_integration into 6389d11a538c5be95cedcc8fa9d419160f06a83a on corso-python-prato:master.

coveralls commented 10 years ago

Coverage Status

Coverage increased (+0.15%) when pulling 33af931be5030bea66cc1fe8ea07ed6ad8248c63 on Roxana28:pending_user_integration into 3194b40b5d01509dba50dd9febc98e6168bbd647 on corso-python-prato:master.

coveralls commented 10 years ago

Coverage Status

Coverage increased (+0.15%) when pulling 226658da6da9364400c5174f8faf8d0e65f60aae on Roxana28:pending_user_integration into 3194b40b5d01509dba50dd9febc98e6168bbd647 on corso-python-prato:master.

coveralls commented 10 years ago

Coverage Status

Coverage increased (+0.15%) when pulling ca128790ae9bb812bd6e386fbb1af4747f6ac944 on Roxana28:pending_user_integration into 3194b40b5d01509dba50dd9febc98e6168bbd647 on corso-python-prato:master.

coveralls commented 10 years ago

Coverage Status

Coverage increased (+0.13%) when pulling f17c287fda0ea95c5cbcd9cce2fc8b4d60a8f18b on Roxana28:pending_user_integration into 3194b40b5d01509dba50dd9febc98e6168bbd647 on corso-python-prato:master.

Roxana28 commented 10 years ago

Refactoring! Massima priorità di integrazione! :)

coveralls commented 10 years ago

Coverage Status

Coverage increased (+0.17%) when pulling f7c5ebec4c52be4b70537890065550b39873e4d7 on Roxana28:pending_user_integration into 3194b40b5d01509dba50dd9febc98e6168bbd647 on corso-python-prato:master.

coveralls commented 10 years ago

Coverage Status

Coverage increased (+0.12%) when pulling a2573755f0193b06dacf5acf306fafc16076210d on Roxana28:pending_user_integration into 3194b40b5d01509dba50dd9febc98e6168bbd647 on corso-python-prato:master.

GendoIkari commented 10 years ago

Come detto a voce, da controllare la copertura dei test.