Skip to content

Commit

Permalink
Close the test session at the end of event sending.
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshiori committed Jan 21, 2021
1 parent 327ff6c commit b855708
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions launchable/commands/record/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ def printer(f):
res = client.request(
"post", "{}/events".format(session_id), data=payload, headers=headers)
res.raise_for_status()
res = client.request("patch", "{}/close".format(session_id), headers=headers)
res.raise_for_status()
except Exception as e:
if os.getenv(REPORT_ERROR_KEY):
raise e
Expand Down

0 comments on commit b855708

Please sign in to comment.