This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user