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

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

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