File tree Expand file tree Collapse file tree 3 files changed +2494
-69
lines changed
kscore/data/kog/2016-05-13 Expand file tree Collapse file tree 3 files changed +2494
-69
lines changed Original file line number Diff line number Diff line change 1
1
# -*- encoding:utf-8 -*-
2
2
3
3
from kscore .session import get_session
4
+ from test import *
4
5
5
6
if __name__ == "__main__" :
7
+
6
8
s = get_session ()
7
9
8
10
client = s .create_client ("kog" , use_ssl = True )
9
11
10
- projects = client .get_project_list ()
11
-
12
- project = client .add_project (name = '123123' , comment = '123123' )
13
-
14
- project .update (name = "bcd" )
15
-
16
- client .edit_project (** project )
17
-
18
- client .delete_project (id = project ['id' ])
19
-
20
- assert projects == client .get_project_list ()
12
+ # asset_server_test(client)
13
+
14
+ # project_test(client)
15
+
16
+ # group_test(client)
17
+ #
18
+ # method_test(client)
19
+ #
20
+
21
+ #
22
+ # role_test(client)
23
+ #
24
+ # version_test(client)
25
+ #
26
+ # server_test(client)
27
+ #
28
+ # message_center_test(client)
29
+ #
30
+ # asset_region_test(client)
31
+ #
32
+ # object_variables_test(client)
33
+ #
34
+ for task in client .get_deploy_history_last ():
35
+ print '最近不同任务列表的元素:' , task
36
+
37
+ for diff_kind_task in client .get_history_last ():
38
+ print '最近不同类型任务列表的元素:' , diff_kind_task
39
+
40
+ # application_test(client)
41
+
42
+ # package_test(client)
43
+
44
+ # deploy_settings_template_test(client)
45
+ #
46
+ # version_test(client)
You can’t perform that action at this time.
0 commit comments