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