Skip to content

Commit 66b1166

Browse files
authored
Merge pull request #137 from LukaszSiudakiewicz/master
List all device session files
2 parents df87511 + 90df996 commit 66b1166

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testdroid/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,10 +616,10 @@ def get_device_session_files(self, project_id, test_run_id, device_session_id, t
616616
""" Get list of files for device session """
617617

618618
if tags is None:
619-
return self.get("me/projects/%s/runs/%s/device-sessions/%s/output-file-set/files" %
619+
return self.get("me/projects/%s/runs/%s/device-sessions/%s/output-file-set/files?limit=0" %
620620
(project_id, test_run_id, device_session_id))
621621
else:
622-
return self.get("me/projects/%s/runs/%s/device-sessions/%s/output-file-set/files?tag[]=%s" %
622+
return self.get("me/projects/%s/runs/%s/device-sessions/%s/output-file-set/files?limit=0&tag[]=%s" %
623623
(project_id, test_run_id, device_session_id, tags))
624624

625625
def get_device_run_files(self, project_id, test_run_id, device_session_id, tags=None):

0 commit comments

Comments
 (0)