Skip to content

Commit 42484e2

Browse files
authored
Merge pull request #74 from jrusnakli/master
Add api to abort test run
2 parents b2ec9c1 + ed142a1 commit 42484e2

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)