Skip to content

Commit 1e7baed

Browse files
author
Sakari Rautiainen
authored
Merge pull request #48 from jwallis/feature_get_project_config
Add get_project_config()
2 parents 66b6be4 + e8bff83 commit 1e7baed

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

testdroid/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,11 @@ def set_project_parameters(self, project_id, parameters):
398398
path = "/users/%s/projects/%s/config/parameters" % ( me['id'], project_id )
399399
return self.post(path=path, payload=parameters)
400400

401+
""" Get project config
402+
"""
403+
def get_project_config(self, project_id):
404+
path = "/me/projects/%s/config" % ( project_id )
405+
return self.get(path=path)
401406

402407
""" Set project config according to http://docs.testdroid.com/_pages/client.html#project-config
403408
"""

0 commit comments

Comments
 (0)