summaryrefslogtreecommitdiffstats
path: root/testapi/testapi-client/testapiclient/client/pods.py
AgeCommit message (Collapse)AuthorFilesLines
2018-05-07Add get functionality for the import modulethuva41-0/+20
Tested Module will deserialize the json objects from the server to Pod instance. Change-Id: I3e2cb9386f8949d544624be687ee227ae4529d72 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-04-23impl import-testapiclient frameworkSerenaFeng1-0/+11
the usage: from testapiclient.client import pods pod_client = pods.PodsClient(user='test', password='pass') pod_client.create({'name': 'test-api', 'mode':'metal', 'role':'community_ci', 'details':''} from testapiclient.client import pods from testapiclient.models import pods as pm pod_client = pods.PodsClient(user='test', password='pass') pod = pm.Pods(name='test') pod_client.create(pod.__dict__) Change-Id: I6a7770d0b54f5570552a6ebbf1c42a638723997c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>