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

This commit is contained in:
2025-08-06 23:08:46 +02:00
parent 2be7d99fcb
commit c8246dea36
+5 -1
View File
@@ -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():