Update tests/test_utils_elog.py
Run CI Tests / test (push) Successful in 1m25s

This commit is contained in:
2025-08-06 23:15:11 +02:00
parent c8246dea36
commit 75e5979049
+2 -1
View File
@@ -34,7 +34,7 @@ def test_check_required_attributes():
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)
print("BBBBBBBBBBBBBBBBBBBBB : ", new_msg_id, file=sys.__stdout__)
# Connexion basique avec credentials connus
def get_test_elog():
@@ -112,6 +112,7 @@ def test_post():
author = "robot"
resp = elog.post(text, title=title, author=author, category="General", type="Other")
print("RRRRRRRRRRRRRRRRRRR : ", resp, file=sys.__stdout__)
assert resp is not None
url = f"http://localhost:8080/demo/{resp}"