提交 506bab00 authored 作者: 彭甘宇's avatar 彭甘宇

修改单个模块初始化配置,避免重复初始化

上级 6d707a1f
......@@ -7,7 +7,7 @@ from 运维集控.项目测试.运维标准版.lib.base import *
# def suite_setup():
# wd = GSTORE['wd']
def suite_teardown():
INFO('进行清除操作')
wd = GSTORE['wd']
wd.quit()
# def suite_teardown():
# INFO('进行清除操作')
# wd = GSTORE['wd']
# wd.quit()
......@@ -5,14 +5,14 @@ from 运维集控.项目测试.运维标准版.lib.base import *
def suite_setup():
wd = GSTORE['wd']
user_login("admin@pgy", "ub@123456", "csba")
# user_login("admin@pgy", "ub@123456", "csba")
enter_system()
enter_manage()
enter_user_manage() # 修正缩进
def suite_teardown():
wd = GSTORE['wd']
wd.quit()
# def suite_teardown():
# wd = GSTORE['wd']
# wd.quit()
# 本地启动http微服务
# python - m http.server 80 - -directory log
......
......@@ -5,9 +5,9 @@ from 运维集控.项目测试.运维标准版.lib.base import *
def suite_setup():
wd = GSTORE['wd']
user_login("admin@pgy", "ub@123456", "csba")
enter_system()
enter_manage()
# user_login("admin@pgy", "ub@123456", "csba")
# enter_system()
# enter_manage()
enter_areagroup_manage()
# def suite_teardown():
......
......@@ -5,9 +5,9 @@ from 运维集控.项目测试.运维标准版.lib.base import *
def suite_setup():
wd = GSTORE['wd']
user_login("admin@pgy", "ub@123456", "csba")
enter_system()
enter_manage()
# user_login("admin@pgy", "ub@123456", "csba")
# enter_system()
# enter_manage()
enter_areatype_manage()
# def suite_teardown():
......
......@@ -5,13 +5,13 @@ from 运维集控.项目测试.运维标准版.lib.base import *
def suite_setup():
wd = GSTORE['wd']
user_login("admin@pgy", "ub@123456", "csba")
enter_system()
enter_manage()
# user_login("admin@pgy", "ub@123456", "csba")
# enter_system()
# enter_manage()
enter_areafuntion_manage()
def suite_teardown():
INFO('进行清除操作')
wd = GSTORE['wd']
wd.quit()
# def suite_teardown():
# INFO('进行清除操作')
# wd = GSTORE['wd']
# wd.quit()
......@@ -10,7 +10,7 @@ def suite_setup():
open_browser()
# def suite_teardown():
# INFO('进行清除操作')
# wd = GSTORE['wd']
# wd.quit()
\ No newline at end of file
def suite_teardown():
INFO('进行清除操作')
wd = GSTORE['wd']
wd.quit()
\ No newline at end of file
......@@ -5,6 +5,12 @@
</component>
<component name="ChangeListManager">
<list default="true" id="c611fa12-cf95-4015-91bc-655fca8727f9" name="更改" comment="">
<change beforePath="$PROJECT_DIR$/../运维集控/项目测试/运维标准版/cases/01登录模块/__st__.py" beforeDir="false" afterPath="$PROJECT_DIR$/../运维集控/项目测试/运维标准版/cases/01登录模块/__st__.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../运维集控/项目测试/运维标准版/cases/02用户管理/__st__.py" beforeDir="false" afterPath="$PROJECT_DIR$/../运维集控/项目测试/运维标准版/cases/02用户管理/__st__.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../运维集控/项目测试/运维标准版/cases/03区域分组/__st__.py" beforeDir="false" afterPath="$PROJECT_DIR$/../运维集控/项目测试/运维标准版/cases/03区域分组/__st__.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../运维集控/项目测试/运维标准版/cases/04区域类型/__st__.py" beforeDir="false" afterPath="$PROJECT_DIR$/../运维集控/项目测试/运维标准版/cases/04区域类型/__st__.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../运维集控/项目测试/运维标准版/cases/05区域功能/__st__.py" beforeDir="false" afterPath="$PROJECT_DIR$/../运维集控/项目测试/运维标准版/cases/05区域功能/__st__.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../运维集控/项目测试/运维标准版/cases/__st__.py" beforeDir="false" afterPath="$PROJECT_DIR$/../运维集控/项目测试/运维标准版/cases/__st__.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
......@@ -23,20 +29,21 @@
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;Python.登录测试.executor&quot;: &quot;Run&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;git-widget-placeholder&quot;: &quot;develop&quot;,
&quot;last_opened_file_path&quot;: &quot;D:/GithubData/ubains-module-test/ubains-module-test/预定系统&quot;,
&quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
&quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"Python.登录测试.executor": "Run",
"RunOnceActivity.ShowReadmeOnStart": "true",
"RunOnceActivity.git.unshallow": "true",
"git-widget-placeholder": "develop",
"last_opened_file_path": "D:/GithubData/ubains-module-test/ubains-module-test/预定系统",
"nodejs_package_manager_path": "npm",
"vue.rearranger.settings.migration": "true"
}
}</component>
}]]></component>
<component name="SharedIndexes">
<attachedChunks>
<set>
<option value="bundled-python-sdk-d7ad00fb9fc3-c546a90a8094-com.jetbrains.pycharm.community.sharedIndexes.bundled-PC-242.23726.102" />
<option value="bundled-python-sdk-495700d161d3-aa17d162503b-com.jetbrains.pycharm.community.sharedIndexes.bundled-PC-243.22562.220" />
</set>
</attachedChunks>
</component>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论