Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ var/
.installed.cfg
*.egg
.idea
myenv/

# PyInstaller
# Usually these files are written by a python script from a template
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
keywords='testdroid rest api client',
author='Henri Kivelä <henri.kivela@bitbar.com>, Sakari Rautiainen <sakari.rautiainen@bitbar.com>, Teppo Malinen <teppo.malinen@bitbar.com>, Jarno Tuovinen <jarno.tuovinen@bitbar.com>, Atte Keltanen <atte.keltanen@bitbar.com>',
author_email='info@bitbar.com',
url='http://www.testdroid.com',
url='http://www.bitbar.com',
license='Apache License v2.0',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
Expand Down
9 changes: 4 additions & 5 deletions testdroid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ def get_project_config(self, project_id):
path = "me/projects/%s/config" % ( project_id )
return self.get(path=path)

""" ***DEPRECATED*** Set project config according to http://docs.testdroid.com/_pages/client.html#project-config
""" ***DEPRECATED*** Set project config
Consider using start_test_run_using_config() instead.
"""
def set_project_config(self, project_id, payload):
Expand Down Expand Up @@ -958,7 +958,7 @@ class MyParser(OptionParser):
def format_epilog(self, formatter):
return self.epilog
usage = "usage: %prog [options] <command> [arguments...]"
description = "Client for Testdroid Cloud API v2"
description = "Client for Bitbar Cloud API v2"
epilog = """
Commands:

Expand All @@ -982,7 +982,6 @@ def format_epilog(self, formatter):
upload-file <filename> Upload to "Files"
set-project-config <project-id> <config-json>
***DEPRECATED*** Change the project config parameters as facilitated by the API:
http://docs.testdroid.com/_pages/client.html#project-config
e.g.:
./testdroid-api-client set-project-config 1234 '{"limitationType":"CLASS", "limitationValue":"com.foo.test.VerifyFoo"}'
start-test-run <project-id> <device-group-id>
Expand All @@ -1008,7 +1007,7 @@ def format_epilog(self, formatter):
See the sample of Jenkisfile in http://docs.bitbar.com/build-service/guide.html
update-job <job-id> <job-name> <job-configuration>
Update existing job
create-build <job-id> <build-configuration> Create a new build job. See https://cloud.testdroid.com/cloud/swagger-ui.html
create-build <job-id> <build-configuration> Create a new build job. See https://cloud.bitbar.com/cloud/swagger-ui.html
for details of build configuration
delete-job <job-id> Delete job and all the builds in it
delete-build <job-id> <build-id> Delete build by id
Expand Down Expand Up @@ -1044,7 +1043,7 @@ def format_epilog(self, formatter):
"""
parser = MyParser(usage=usage, description=description, epilog=epilog, version="%s %s" % ("%prog", __version__))
parser.add_option("-k", "--apikey", dest="apikey",
help="API key - the API key for Testdroid Cloud. Optional. You can use environment variable TESTDROID_APIKEY as well.")
help="API key - the API key for Bitbar Cloud. Optional. You can use environment variable TESTDROID_APIKEY as well.")
parser.add_option("-u", "--username", dest="username",
help="Username - the email address. Optional. You can use environment variable TESTDROID_USERNAME as well.")
parser.add_option("-p", "--password", dest="password",
Expand Down