Skip to content

Commit f19f3b7

Browse files
authored
#44 - Session tags are now sent to the remote server as JSON
1 parent 2fe25ac commit f19f3b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_monitor/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def compute_info(self, description, tags):
9090
json=dict(session_h=self.__session,
9191
run_date=run_date,
9292
scm_ref=scm,
93-
description=description))
93+
description=json.loads(description)))
9494
if r.status_code != HTTPStatus.CREATED:
9595
self.__remote = ''
9696
msg = "Cannot insert session in remote monitor server ({})! Deactivating...')".format(r.status_code)

0 commit comments

Comments
 (0)