From 0a55088b667ea85f54341a52df2e459e1bd93467 Mon Sep 17 00:00:00 2001 From: "michal.szpruta" Date: Thu, 7 Feb 2019 11:52:07 +0100 Subject: [PATCH] Testdroid -> Bitbar, removed obsolete links --- .gitignore | 1 + setup.py | 2 +- testdroid/__init__.py | 9 ++++----- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 1532d61..d6a2b78 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ var/ .installed.cfg *.egg .idea +myenv/ # PyInstaller # Usually these files are written by a python script from a template diff --git a/setup.py b/setup.py index bb3c339..43855ea 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ keywords='testdroid rest api client', author='Henri Kivelä , Sakari Rautiainen , Teppo Malinen , Jarno Tuovinen , Atte Keltanen ', 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, diff --git a/testdroid/__init__.py b/testdroid/__init__.py index 6afb3bb..469c165 100755 --- a/testdroid/__init__.py +++ b/testdroid/__init__.py @@ -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): @@ -958,7 +958,7 @@ class MyParser(OptionParser): def format_epilog(self, formatter): return self.epilog usage = "usage: %prog [options] [arguments...]" - description = "Client for Testdroid Cloud API v2" + description = "Client for Bitbar Cloud API v2" epilog = """ Commands: @@ -982,7 +982,6 @@ def format_epilog(self, formatter): upload-file Upload to "Files" set-project-config ***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 @@ -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 Update existing job - create-build Create a new build job. See https://cloud.testdroid.com/cloud/swagger-ui.html + create-build Create a new build job. See https://cloud.bitbar.com/cloud/swagger-ui.html for details of build configuration delete-job Delete job and all the builds in it delete-build Delete build by id @@ -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",