Skip to content

Commit 061065e

Browse files
committed
default count should be 10 instead of 30
1 parent 7f70369 commit 061065e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testingbotclient.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def get_test_ids(self):
8585
test_ids = [attr['session_id'] for attr in tests['data']]
8686
return test_ids
8787

88-
def get_tests(self, offset = 0, limit = 30):
88+
def get_tests(self, offset = 0, limit = 10):
8989
"""List all tests belonging to the user."""
9090
url = '/tests?offset=' + str(offset) + '&count=' + str(limit)
9191
tests = self.client.get(url)
@@ -143,7 +143,7 @@ def remove_file(self, app_url):
143143
"""Removes a file previously uploaded to TestingBot Storage."""
144144
return self.client.delete("/storage/" + app_url.replace("tb://", ""))
145145

146-
def get_stored_files(self, offset = 0, limit = 30):
146+
def get_stored_files(self, offset = 0, limit = 10):
147147
"""Retrieves all files previously uploaded to TestingBot Storage."""
148148
return self.client.get("/storage/?count=" + str(limit) + "&offset=" + str(offset))
149149

@@ -191,7 +191,7 @@ class Build(object):
191191
def __init__(self, client):
192192
self.client = client
193193

194-
def get_builds(self, offset = 0, limit = 30):
194+
def get_builds(self, offset = 0, limit = 10):
195195
"""Get all builds"""
196196
return self.client.get('/builds?offset=' + str(offset) + '&count=' + str(limit))
197197

0 commit comments

Comments
 (0)