Skip to content

Commit ed142a1

Browse files
author
john rusnak
committed
Add api to abort a test run
1 parent 43c7354 commit ed142a1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

testdroid/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,11 @@ def print_project_test_runs(self, project_id, limit=0):
542542
def get_test_run(self, project_id, test_run_id):
543543
return self.get("me/projects/%s/runs/%s" % (project_id, test_run_id))
544544

545+
"""Abort a test run
546+
"""
547+
def abort_test_run(self, project_id, test_run_id):
548+
return self.post("me/projects/%s/runs/%s/abort" % (project_id, test_run_id))
549+
545550
""" Return device runs for a project
546551
"""
547552
def get_device_runs(self, project_id, test_run_id, limit=0):

0 commit comments

Comments
 (0)