| Conditions | 1 |
| Total Lines | 9 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import logging |
||
| 18 | @staticmethod |
||
| 19 | def test_LORIS_get(): |
||
| 20 | response_success, token = LORIS_query.login() |
||
| 21 | assert response_success |
||
| 22 | #assert len(token) == 256 # token should always be 256 char long |
||
| 23 | response_success, json = LORIS_query.getCNBP(token, "projects") |
||
| 24 | assert response_success |
||
| 25 | response_success, json = LORIS_query.getCNBP(token, "candidates") |
||
| 26 | assert response_success |
||
| 27 | |||
| 49 |
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.