diff --git a/tests/test_utils_elog.py b/tests/test_utils_elog.py index 0343c060d..6a26d395b 100644 --- a/tests/test_utils_elog.py +++ b/tests/test_utils_elog.py @@ -29,8 +29,12 @@ def get_default_elog_password(url, **kwargs): def test_check_required_attributes(): url = "http://localhost:8080/demo?cmd=Config" response = requests.get(url, auth=("robot", "testpassword")) - print(response.text, file=sys.__stdout__) # Cherchez "Required Attributes" dans l'output + print("AAAAAAAAAAAAAAAAAAAAA : ", response.text, file=sys.__stdout__) # Cherchez "Required Attributes" dans l'output +def test_post(): + logbook = elog.open('localhost', 'demo', port=8080, use_ssl=False) + new_msg_id = logbook.post('This is message text', author='me', type='Routine') + print("BBBBBBBBBBBBBBBBBBBBB : ", new_msg_id) # Connexion basique avec credentials connus def get_test_elog():