Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions testdroid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def stop_device_session(self, device_session_id):
""" Get all test runs for a project
"""
def get_project_test_runs(self, project_id, limit=20):
return self.get(path = "me/projects/%s/runs" & project_id, payload = {'limit': limit})
return self.get(path = "me/projects/%s/runs" % (project_id), payload = {'limit': limit})

""" Print test runs of a project to console
"""
Expand All @@ -453,7 +453,7 @@ def get_test_run(self, project_id, test_run_id):

""" Return device runs for a project
"""
def get_device_runs(self, project_id, test_run_id, limit=1000):
def get_device_runs(self, project_id, test_run_id, limit=0):
return self.get(path = "me/projects/%s/runs/%s/device-runs" % (project_id, test_run_id), payload = {'limit': limit})

""" Downloads screenshots list for a device run
Expand Down