Commit 2d8995c4 authored by 刘丙寅's avatar 刘丙寅

更新代码

parent a63bbe2c
...@@ -5,8 +5,10 @@ ...@@ -5,8 +5,10 @@
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
</component> </component>
<component name="PackageRequirementsSettings">
<option name="requirementsPath" value="" />
</component>
<component name="TestRunnerService"> <component name="TestRunnerService">
<option name="projectConfiguration" value="Twisted Trial" /> <option name="PROJECT_TEST_RUNNER" value="Unittests" />
<option name="PROJECT_TEST_RUNNER" value="Twisted Trial" />
</component> </component>
</module> </module>
\ No newline at end of file
...@@ -2,7 +2,12 @@ ...@@ -2,7 +2,12 @@
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="b15e3352-8f7d-4f1c-80b2-9d3357a05173" name="Default Changelist" comment=""> <list default="true" id="b15e3352-8f7d-4f1c-80b2-9d3357a05173" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/alpha-earth-interface.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/alpha-earth-interface.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/case/case_news.py" beforeDir="false" afterPath="$PROJECT_DIR$/case/case_news.py" afterDir="false" /> <change beforePath="$PROJECT_DIR$/case/case_news.py" beforeDir="false" afterPath="$PROJECT_DIR$/case/case_news.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/case/case_pictorial.py" beforeDir="false" afterPath="$PROJECT_DIR$/case/case_pictorial.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/param/params.py" beforeDir="false" afterPath="$PROJECT_DIR$/param/params.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/report/result.html" beforeDir="false" afterPath="$PROJECT_DIR$/report/result.html" afterDir="false" />
</list> </list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
...@@ -13,10 +18,10 @@ ...@@ -13,10 +18,10 @@
<component name="FileEditorManager"> <component name="FileEditorManager">
<leaf> <leaf>
<file pinned="false" current-in-tab="true"> <file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/case/case_news.py"> <entry file="file://$PROJECT_DIR$/case/case_pictorial.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="765"> <state relative-caret-position="616">
<caret line="87" column="9" lean-forward="true" selection-start-line="87" selection-start-column="9" selection-end-line="87" selection-end-column="9" /> <caret line="102" column="23" lean-forward="true" selection-start-line="102" selection-start-column="23" selection-end-line="102" selection-end-column="23" />
<folding> <folding>
<element signature="e#0#15#0" expanded="true" /> <element signature="e#0#15#0" expanded="true" />
</folding> </folding>
...@@ -24,6 +29,15 @@ ...@@ -24,6 +29,15 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/param/params.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="286">
<caret line="82" lean-forward="true" selection-start-line="82" selection-end-line="82" />
</state>
</provider>
</entry>
</file>
</leaf> </leaf>
</component> </component>
<component name="Git.Settings"> <component name="Git.Settings">
...@@ -33,6 +47,8 @@ ...@@ -33,6 +47,8 @@
<option name="CHANGED_PATHS"> <option name="CHANGED_PATHS">
<list> <list>
<option value="$PROJECT_DIR$/case/case_news.py" /> <option value="$PROJECT_DIR$/case/case_news.py" />
<option value="$PROJECT_DIR$/param/params.py" />
<option value="$PROJECT_DIR$/case/case_pictorial.py" />
</list> </list>
</option> </option>
</component> </component>
...@@ -55,6 +71,21 @@ ...@@ -55,6 +71,21 @@
<item name="alpha-earth-interface" type="b2602c69:ProjectViewProjectNode" /> <item name="alpha-earth-interface" type="b2602c69:ProjectViewProjectNode" />
<item name="alpha-earth-interface" type="462c0819:PsiDirectoryNode" /> <item name="alpha-earth-interface" type="462c0819:PsiDirectoryNode" />
</path> </path>
<path>
<item name="alpha-earth-interface" type="b2602c69:ProjectViewProjectNode" />
<item name="alpha-earth-interface" type="462c0819:PsiDirectoryNode" />
<item name="case" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="alpha-earth-interface" type="b2602c69:ProjectViewProjectNode" />
<item name="alpha-earth-interface" type="462c0819:PsiDirectoryNode" />
<item name="login" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="alpha-earth-interface" type="b2602c69:ProjectViewProjectNode" />
<item name="alpha-earth-interface" type="462c0819:PsiDirectoryNode" />
<item name="param" type="462c0819:PsiDirectoryNode" />
</path>
</expand> </expand>
<select /> <select />
</subPane> </subPane>
...@@ -64,9 +95,15 @@ ...@@ -64,9 +95,15 @@
<component name="PropertiesComponent"> <component name="PropertiesComponent">
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" /> <property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
<property name="WebServerToolWindowFactoryState" value="false" /> <property name="WebServerToolWindowFactoryState" value="false" />
<property name="node.js.detected.package.eslint" value="true" />
<property name="node.js.detected.package.tslint" value="true" />
<property name="node.js.path.for.package.eslint" value="project" />
<property name="node.js.path.for.package.tslint" value="project" />
<property name="node.js.selected.package.eslint" value="(autodetect)" />
<property name="node.js.selected.package.tslint" value="(autodetect)" />
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" /> <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="nodejs_npm_path_reset_for_default_project" value="true" /> <property name="nodejs_npm_path_reset_for_default_project" value="true" />
<property name="settings.editor.selected.configurable" value="copyright" /> <property name="settings.editor.selected.configurable" value="com.jetbrains.python.configuration.PyIntegratedToolsModulesConfigurable" />
</component> </component>
<component name="RunDashboard"> <component name="RunDashboard">
<option name="ruleStates"> <option name="ruleStates">
...@@ -80,6 +117,96 @@ ...@@ -80,6 +117,96 @@
</list> </list>
</option> </option>
</component> </component>
<component name="RunManager" selected="Python tests.Unittests for case_pictorial.Case.test_07">
<configuration name="allcase" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="alpha-earth-interface" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/allcase.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
<option name="REDIRECT_INPUT" value="false" />
<option name="INPUT_FILE" value="" />
<method v="2" />
</configuration>
<configuration name="case_login" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="alpha-earth-interface" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/login" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/login/case_login.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
<option name="REDIRECT_INPUT" value="false" />
<option name="INPUT_FILE" value="" />
<method v="2" />
</configuration>
<configuration name="Unittests for case_news.Case" type="tests" factoryName="Unittests" temporary="true" nameIsGenerated="true">
<module name="alpha-earth-interface" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/case" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="_new_additionalArguments" value="&quot;&quot;" />
<option name="_new_target" value="&quot;case_news.Case&quot;" />
<option name="_new_targetType" value="&quot;PYTHON&quot;" />
<method v="2" />
</configuration>
<configuration name="Unittests for case_pictorial.Case.test_07" type="tests" factoryName="Unittests" temporary="true" nameIsGenerated="true">
<module name="alpha-earth-interface" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/case" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="_new_additionalArguments" value="&quot;&quot;" />
<option name="_new_target" value="&quot;case_pictorial.Case.test_07&quot;" />
<option name="_new_targetType" value="&quot;PYTHON&quot;" />
<method v="2" />
</configuration>
<list>
<item itemvalue="Python.case_login" />
<item itemvalue="Python tests.Unittests for case_news.Case" />
<item itemvalue="Python.allcase" />
<item itemvalue="Python tests.Unittests for case_pictorial.Case.test_07" />
</list>
<recent_temporary>
<list>
<item itemvalue="Python tests.Unittests for case_pictorial.Case.test_07" />
<item itemvalue="Python.allcase" />
<item itemvalue="Python tests.Unittests for case_news.Case" />
<item itemvalue="Python.case_login" />
</list>
</recent_temporary>
</component>
<component name="SvnConfiguration"> <component name="SvnConfiguration">
<configuration /> <configuration />
</component> </component>
...@@ -90,7 +217,7 @@ ...@@ -90,7 +217,7 @@
<option name="number" value="Default" /> <option name="number" value="Default" />
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1568888960667</updated> <updated>1568888960667</updated>
<workItem from="1568888962139" duration="771000" /> <workItem from="1568888962139" duration="2847000" />
</task> </task>
<task id="LOCAL-00001" summary="提交测试"> <task id="LOCAL-00001" summary="提交测试">
<created>1568889609786</created> <created>1568889609786</created>
...@@ -99,28 +226,74 @@ ...@@ -99,28 +226,74 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1568889609786</updated> <updated>1568889609786</updated>
</task> </task>
<option name="localTasksCounter" value="2" /> <task id="LOCAL-00002" summary="提交测试2">
<created>1568889748136</created>
<option name="number" value="00002" />
<option name="presentableId" value="LOCAL-00002" />
<option name="project" value="LOCAL" />
<updated>1568889748136</updated>
</task>
<task id="LOCAL-00003" summary="提交测试2">
<created>1568889801310</created>
<option name="number" value="00003" />
<option name="presentableId" value="LOCAL-00003" />
<option name="project" value="LOCAL" />
<updated>1568889801310</updated>
</task>
<option name="localTasksCounter" value="4" />
<servers /> <servers />
</component> </component>
<component name="TestHistory">
<history-entry file="Twisted_Trial_for_case_tag_Case_test_05 - 2019.09.19 at 18h 58m 25s.xml">
<configuration name="Twisted Trial for case_tag.Case.test_05" configurationId="tests" />
</history-entry>
<history-entry file="Twisted_Trial_for_case_news_Case_test_07 - 2019.09.19 at 18h 58m 36s.xml">
<configuration name="Twisted Trial for case_news.Case.test_07" configurationId="tests" />
</history-entry>
<history-entry file="Twisted_Trial_for_case_news_Case_test_06 - 2019.09.19 at 19h 00m 52s.xml">
<configuration name="Twisted Trial for case_news.Case.test_06" configurationId="tests" />
</history-entry>
<history-entry file="Twisted_Trial_for_case_news_Case_test_07 - 2019.09.19 at 19h 01m 00s.xml">
<configuration name="Twisted Trial for case_news.Case.test_07" configurationId="tests" />
</history-entry>
<history-entry file="Twisted_Trial_for_case_news_Case - 2019.09.19 at 19h 01m 14s.xml">
<configuration name="Twisted Trial for case_news.Case" configurationId="tests" />
</history-entry>
<history-entry file="Twisted_Trial_for_case_news_Case_test_01 - 2019.09.19 at 19h 01m 28s.xml">
<configuration name="Twisted Trial for case_news.Case.test_01" configurationId="tests" />
</history-entry>
<history-entry file="Unittests_for_case_news_Case - 2019.09.19 at 19h 03m 07s.xml">
<configuration name="Unittests for case_news.Case" configurationId="tests" />
</history-entry>
<history-entry file="Unittests_for_case_pictorial_Case_test_07 - 2019.09.19 at 19h 06m 32s.xml">
<configuration name="Unittests for case_pictorial.Case.test_07" configurationId="tests" />
</history-entry>
<history-entry file="Unittests_for_case_pictorial_Case_test_07 - 2019.09.19 at 19h 10m 43s.xml">
<configuration name="Unittests for case_pictorial.Case.test_07" configurationId="tests" />
</history-entry>
<history-entry file="Unittests_for_case_pictorial_Case_test_07 - 2019.09.19 at 19h 10m 44s.xml">
<configuration name="Unittests for case_pictorial.Case.test_07" configurationId="tests" />
</history-entry>
</component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="771000" /> <option name="totallyTimeSpent" value="2847000" />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="-1920" y="-257" width="1920" height="1057" extended-state="0" /> <frame x="-1920" y="-257" width="1920" height="1057" extended-state="0" />
<editor active="true" /> <editor active="true" />
<layout> <layout>
<window_info id="Favorites" side_tool="true" /> <window_info id="Favorites" side_tool="true" />
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.24973376" /> <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.12140575" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" /> <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info anchor="bottom" id="Docker" show_stripe_button="false" /> <window_info anchor="bottom" id="Docker" show_stripe_button="false" />
<window_info anchor="bottom" id="Database Changes" /> <window_info anchor="bottom" id="Database Changes" />
<window_info anchor="bottom" id="Version Control" /> <window_info anchor="bottom" id="Version Control" weight="0.32953367" />
<window_info anchor="bottom" id="Python Console" /> <window_info anchor="bottom" id="Python Console" />
<window_info anchor="bottom" id="Terminal" /> <window_info anchor="bottom" id="Terminal" />
<window_info anchor="bottom" id="Event Log" side_tool="true" /> <window_info anchor="bottom" id="Event Log" side_tool="true" />
<window_info anchor="bottom" id="Message" order="0" /> <window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Find" order="1" /> <window_info anchor="bottom" id="Find" order="1" />
<window_info anchor="bottom" id="Run" order="2" /> <window_info anchor="bottom" id="Run" order="2" weight="0.32953367" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" /> <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" /> <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" /> <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
...@@ -137,7 +310,21 @@ ...@@ -137,7 +310,21 @@
</component> </component>
<component name="VcsManagerConfiguration"> <component name="VcsManagerConfiguration">
<MESSAGE value="提交测试" /> <MESSAGE value="提交测试" />
<option name="LAST_COMMIT_MESSAGE" value="提交测试" /> <MESSAGE value="提交测试2" />
<option name="LAST_COMMIT_MESSAGE" value="提交测试2" />
</component>
<component name="com.intellij.coverage.CoverageDataManagerImpl">
<SUITE FILE_PATH="coverage/alpha_earth_interface$Twisted_Trial_for_case_news_Case.coverage" NAME="Twisted Trial for case_news.Case Coverage Results" MODIFIED="1568890873353" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/case" />
<SUITE FILE_PATH="coverage/alpha_earth_interface$Twisted_Trial_for_case_news_Case_test_01.coverage" NAME="Twisted Trial for case_news.Case.test_01 Coverage Results" MODIFIED="1568890887881" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/case" />
<SUITE FILE_PATH="coverage/alpha_earth_interface$Twisted_Trial_for_case_pictorial_Case_test_06.coverage" NAME="Twisted Trial for case_pictorial.Case.test_06 Coverage Results" MODIFIED="1568890693074" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/case" />
<SUITE FILE_PATH="coverage/alpha_earth_interface$Twisted_Trial_for_case_news_Case_test_07.coverage" NAME="Twisted Trial for case_news.Case.test_07 Coverage Results" MODIFIED="1568890859279" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/case" />
<SUITE FILE_PATH="coverage/alpha_earth_interface$Twisted_Trial_for_case_news_Case_test_06.coverage" NAME="Twisted Trial for case_news.Case.test_06 Coverage Results" MODIFIED="1568890851787" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/case" />
<SUITE FILE_PATH="coverage/alpha_earth_interface$Unittests_for_case_pictorial_Case_test_07.coverage" NAME="Unittests for case_pictorial.Case.test_07 Coverage Results" MODIFIED="1568945601143" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/case" />
<SUITE FILE_PATH="coverage/alpha_earth_interface$Twisted_Trial_for_case_pictorial_Case_test_07.coverage" NAME="Twisted Trial for case_pictorial.Case.test_07 Coverage Results" MODIFIED="1568890391365" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/case" />
<SUITE FILE_PATH="coverage/alpha_earth_interface$Twisted_Trial_for_case_tag_Case_test_05.coverage" NAME="Twisted Trial for case_tag.Case.test_05 Coverage Results" MODIFIED="1568890704703" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/case" />
<SUITE FILE_PATH="coverage/alpha_earth_interface$allcase.coverage" NAME="allcase Coverage Results" MODIFIED="1568891146814" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/alpha_earth_interface$case_login.coverage" NAME="case_login Coverage Results" MODIFIED="1568890934424" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/login" />
<SUITE FILE_PATH="coverage/alpha_earth_interface$Unittests_for_case_news_Case.coverage" NAME="Unittests for case_news.Case Coverage Results" MODIFIED="1568890985192" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/case" />
</component> </component>
<component name="editorHistoryManager"> <component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/interface/demo.py"> <entry file="file://$PROJECT_DIR$/interface/demo.py">
...@@ -149,10 +336,82 @@ ...@@ -149,10 +336,82 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/README.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="30">
<caret line="2" lean-forward="true" selection-start-line="2" selection-end-line="2" />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/demo.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-1309" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/login/case_login.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="315">
<caret line="22" column="41" selection-start-line="22" selection-start-column="41" selection-end-line="22" selection-end-column="41" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/allcase.py">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret column="3" selection-start-column="3" selection-end-column="3" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/case/case_news.py"> <entry file="file://$PROJECT_DIR$/case/case_news.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="765"> <state relative-caret-position="-551">
<caret line="87" column="9" lean-forward="true" selection-start-line="87" selection-start-column="9" selection-end-line="87" selection-end-column="9" /> <caret line="17" column="26" lean-forward="true" selection-start-line="17" selection-start-column="26" selection-end-line="17" selection-end-column="26" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/case/case_tag.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="387">
<caret line="53" column="22" selection-start-line="53" selection-start-column="22" selection-end-line="53" selection-end-column="22" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/case/case_attention.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-978">
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/assert_method/assertclass.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75">
<caret line="5" selection-start-line="5" selection-end-line="5" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/param/params.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="286">
<caret line="82" lean-forward="true" selection-start-line="82" selection-end-line="82" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/case/case_pictorial.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="616">
<caret line="102" column="23" lean-forward="true" selection-start-line="102" selection-start-column="23" selection-end-line="102" selection-end-column="23" />
<folding> <folding>
<element signature="e#0#15#0" expanded="true" /> <element signature="e#0#15#0" expanded="true" />
</folding> </folding>
......
2019-09-19 19:01:28+0800 [-] Log opened.
...@@ -17,7 +17,6 @@ class Case(unittest.TestCase): ...@@ -17,7 +17,6 @@ class Case(unittest.TestCase):
my_news = params.my_news my_news = params.my_news
unread = params.unread unread = params.unread
likelist = params.likelist likelist = params.likelist
socketaddress = params.socketaddress
new_info = params.new_info new_info = params.new_info
notice = params.notice notice = params.notice
upload_token = params.upload_token upload_token = params.upload_token
...@@ -53,13 +52,6 @@ class Case(unittest.TestCase): ...@@ -53,13 +52,6 @@ class Case(unittest.TestCase):
result = self.s.get(url=url) result = self.s.get(url=url)
getMethod.getmethod(p,result) getMethod.getmethod(p,result)
#通用接口
def test_04(self):
'获取socket地址'
p = "获取socket地址"
url = self.uri + self.socketaddress
result = self.s.get(url=url)
getMethod.getmethod(p,result)
# 通用接口 # 通用接口
def test_05(self): def test_05(self):
...@@ -86,7 +78,7 @@ class Case(unittest.TestCase): ...@@ -86,7 +78,7 @@ class Case(unittest.TestCase):
body = { body = {
"token_type":1 "token_type":1
} }
result = self.s.post(url=url,data=body) result = self.s.post(url=url, data=body)
getMethod.getmethod(p,result) getMethod.getmethod(p,result)
\ No newline at end of file
...@@ -93,14 +93,15 @@ class Case(unittest.TestCase): ...@@ -93,14 +93,15 @@ class Case(unittest.TestCase):
result = self.s.post(url=url , data=body) result = self.s.post(url=url , data=body)
getMethod.getmethod(p,result) getMethod.getmethod(p,result)
def test_07(self): def test_07(self):
'画报搜索' '画报搜索'
p = "画报搜索" p = "画报搜索"
if self.uri == self.test_uri: if self.uri == self.test_uri:
name = "name=aaa" name = "name=aaa"
if self.uri == self.master_uri: if self.uri == self.master_uri:
name = "name=明星" name = "明星"
url = self.uri + self.pictorial_search + "?" + name url = self.uri + self.pictorial_search + "?name=" + name
result = self.s.get(url=url) result = self.s.get(url=url)
getMethod.getmethod(p,result) getMethod.getmethod(p,result)
......
...@@ -38,8 +38,6 @@ unread = "/api/v1/message/unread?type=0" ...@@ -38,8 +38,6 @@ unread = "/api/v1/message/unread?type=0"
# 点赞列表接口 # 点赞列表接口
likelist = "/api/v1/message/like" likelist = "/api/v1/message/like"
# 获取socket地址
socketaddress = "/api/v1/user/socket"
# 获取最新通知信息 # 获取最新通知信息
new_info = "/api/v1/push/newest/info" new_info = "/api/v1/push/newest/info"
...@@ -79,7 +77,7 @@ pictorial_card = "/api/v1/cards/pictorial?" ...@@ -79,7 +77,7 @@ pictorial_card = "/api/v1/cards/pictorial?"
pictorial_and_topic = "/api/v1/pictorial/topic/add" pictorial_and_topic = "/api/v1/pictorial/topic/add"
# 画报搜索 # 画报搜索
pictorial_search = "api/pictorial/search" pictorial_search = "/api/pictorial/search"
......
...@@ -247,9 +247,9 @@ function close_shots(obj) { ...@@ -247,9 +247,9 @@ function close_shots(obj) {
</div> </div>
<div class='heading'> <div class='heading'>
<h1>自动化测试报告,测试结果如下:</h1> <h1>自动化测试报告,测试结果如下:</h1>
<p class='attribute'><strong>开始时间:</strong> 2019-09-17 18:46:20</p> <p class='attribute'><strong>开始时间:</strong> 2019-09-19 19:05:47</p>
<p class='attribute'><strong>耗时:</strong> 0:00:02.712061</p> <p class='attribute'><strong>耗时:</strong> 0:00:05.346204</p>
<p class='attribute'><strong>状态:</strong> <span class="tj passCase">Pass</span>6 <span class="tj failCase">Failure</span>2</p> <p class='attribute'><strong>状态:</strong> <span class="tj passCase">Pass</span>19 <span class="tj errorCase">Error</span>2</p>
<p class='description'>用例执行情况:</p> <p class='description'>用例执行情况:</p>
</div> </div>
...@@ -335,7 +335,7 @@ pt1.1: 关注接口{'error': 0, 'message': '', 'extra': None, 'data': {'id': 241 ...@@ -335,7 +335,7 @@ pt1.1: 关注接口{'error': 0, 'message': '', 'extra': None, 'data': {'id': 241
</div> </div>
<pre> <pre>
pt1.2: 关注接口列表{'error': 0, 'message': '', 'extra': None, 'data': {'followers': [{'id': 241740487, 'icon': 'http://alpha.iyanzhi.com/userextra/2019/03/19/1958/e84df246d3db-w', 'username': '入于她心。', 'is_follow': True, 'follow_time': 1568717180.676594}, {'id': 241406963, 'icon': 'http://hera.s.igengmei.com/2018/12/06/c5b11f93cf-w', 'username': '肉嘟杆君', 'is_follow': True, 'follow_time': 1568629892.272964}], 'user': {'id': 241699033, 'user_name': 'alpha用户_8f0FDQFDq8'}}, 'user_type': {}} pt1.2: 关注接口列表{'error': 0, 'message': '', 'extra': None, 'data': {'followers': [{'id': 241740487, 'icon': 'http://alpha.iyanzhi.com/userextra/2019/03/19/1958/e84df246d3db-w', 'username': '入于她心。', 'is_follow': True, 'follow_time': 1568891147.730046}, {'id': 241772302, 'icon': 'http://alpha.iyanzhi.com/2019/08/29/1941/ef7325439382-w', 'username': '菜少语', 'is_follow': True, 'follow_time': 1566984649.640769}, {'id': 241765288, 'icon': 'http://alpha-s.iyanzhi.com/2019/05/21/95535bfd66-w', 'username': '干货学堂', 'is_follow': True, 'follow_time': 1566552879.337628}, {'id': 241763671, 'icon': 'http://alpha-s.iyanzhi.com/2019/05/07/6233d4b3c1-w', 'username': 'moonlightt', 'is_follow': True, 'follow_time': 1557392196.973675}, {'id': 241763673, 'icon': 'http://alpha-s.iyanzhi.com/2019/05/07/83bf360534-w', 'username': 'kkkim', 'is_follow': True, 'follow_time': 1557392196.970406}, {'id': 241763676, 'icon': 'http://alpha-s.iyanzhi.com/2019/05/07/603fc5bed8-w', 'username': '大福', 'is_follow': True, 'follow_time': 1557392196.967102}, {'id': 241763677, 'icon': 'http://alpha-s.iyanzhi.com/2019/05/07/3de2d62ad7-w', 'username': '卷卷卷', 'is_follow': True, 'follow_time': 1557392196.963796}, {'id': 241763522, 'icon': 'http://alpha-s.iyanzhi.com/2019/05/05/5287db4c0a-w', 'username': '哩哩', 'is_follow': True, 'follow_time': 1557392196.960409}, {'id': 241763672, 'icon': 'http://alpha-s.iyanzhi.com/2019/05/07/d3cf7adb1f-w', 'username': 'slim', 'is_follow': True, 'follow_time': 1557392196.957107}, {'id': 241763667, 'icon': 'http://alpha-s.iyanzhi.com/2019/05/07/8e2ef37ab4-w', 'username': 'piu', 'is_follow': True, 'follow_time': 1557392196.953602}], 'user': {'id': 241408085, 'user_name': '聪明的孩子mas'}}, 'user_type': {}}
</pre> </pre>
...@@ -373,13 +373,13 @@ pt1.3: 取消关注接口{'error': 0, 'message': '', 'extra': None, 'data': {'id ...@@ -373,13 +373,13 @@ pt1.3: 取消关注接口{'error': 0, 'message': '', 'extra': None, 'data': {'id
<td></td> <td></td>
</tr> </tr>
<tr class='failClass'> <tr class='passClass'>
<td>case_news.Case</td> <td>case_news.Case</td>
<td>5</td> <td>6</td>
<td>3</td> <td>6</td>
<td>2</td>
<td>0</td> <td>0</td>
<td><a href="javascript:showClassDetail('c2',5)">详情</a></td> <td>0</td>
<td><a href="javascript:showClassDetail('c2',6)">详情</a></td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
...@@ -399,7 +399,7 @@ pt1.3: 取消关注接口{'error': 0, 'message': '', 'extra': None, 'data': {'id ...@@ -399,7 +399,7 @@ pt1.3: 取消关注接口{'error': 0, 'message': '', 'extra': None, 'data': {'id
</div> </div>
<pre> <pre>
pt2.1: 我的消息接口{'error': 0, 'message': '', 'extra': None, 'data': [{'user_id': 241407065, 'name': '吓', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/916225ae4e-w', 'id': 15693815, 'is_like': False, 'time': 1566316847.216689, 'content': '会一如既往的支持您\n', 'replied_content': {'id': 55, 'type': 3, 'pictorial_id': 55, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/3769122dca-thumb'}}, {'user_id': 241407123, 'name': 'Liar.', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/ebe3eb1c56-w', 'id': 15693814, 'is_like': False, 'time': 1566316847.043319, 'content': '前排混个眼熟。\n', 'replied_content': {'id': 55, 'type': 3, 'pictorial_id': 55, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/3769122dca-thumb'}}, {'user_id': 241407379, 'name': '传说中的魔女。', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/21/417ddc1602-w', 'id': 15571358, 'is_like': False, 'time': 1566209707.538654, 'content': '就这么简单吗\n', 'replied_content': {'id': 46801730, 'type': 1, 'topic_id': 46801730, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/ad19a67515-thumb'}}, {'user_id': 241407461, 'name': '夏天也很美', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/20/308a69dc13-w', 'id': 15571356, 'is_like': False, 'time': 1566209707.29754, 'content': '有链接嘛?\n', 'replied_content': {'id': 46801729, 'type': 1, 'topic_id': 46801729, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/683675d0c8-thumb'}}, {'user_id': 241407128, 'name': 'indulge', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/69611a519c-w', 'id': 15571354, 'is_like': False, 'time': 1566209707.089673, 'content': '真的秀\n', 'replied_content': {'id': 46801728, 'type': 1, 'topic_id': 46801728, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/3769122dca-thumb'}}, {'user_id': 241407328, 'name': '纯净的眸子', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/40a5175ac6-w', 'id': 15571352, 'is_like': False, 'time': 1566209706.82819, 'content': 'get+1\n', 'replied_content': {'id': 46801727, 'type': 1, 'topic_id': 46801727, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/8c241e6ce6-thumb'}}, {'user_id': 241407410, 'name': '君曾顾我城丶', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/21/620f7a6d88-w', 'id': 15571350, 'is_like': False, 'time': 1566209706.565167, 'content': '那当然了\n', 'replied_content': {'id': 46801726, 'type': 1, 'topic_id': 46801726, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/61eab3a757-thumb'}}, {'user_id': 241407405, 'name': '轻舟向北', 'icon': 'http://alpha-s.iyanzhi.com/2019/08/26/260cecd9a3-w', 'id': 15571348, 'is_like': False, 'time': 1566209706.263565, 'content': '不要抢我的小姐姐\n', 'replied_content': {'id': 46801725, 'type': 1, 'topic_id': 46801725, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/ca0eaedc55-thumb'}}, {'user_id': 241407171, 'name': '我是萌儿', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/c37800e53c-w', 'id': 15570039, 'is_like': False, 'time': 1566209428.447686, 'content': '我该说什么呢…好看!!!\n', 'replied_content': {'id': 46801730, 'type': 1, 'topic_id': 46801730, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/ad19a67515-thumb'}}, {'user_id': 241407170, 'name': '花花', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/ef851047f2-w', 'id': 15570036, 'is_like': False, 'time': 1566209428.240946, 'content': '哇!同款安排上了\n', 'replied_content': {'id': 46801729, 'type': 1, 'topic_id': 46801729, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/683675d0c8-thumb'}}], 'user_type': {}} pt2.1: 我的消息接口{'error': 0, 'message': '', 'extra': None, 'data': [{'user_id': 241407442, 'name': '阳光小美女', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/20/6887b2fc1c-w', 'id': 16142652, 'is_like': False, 'time': 1568887396.074458, 'content': '这个好像很不错哦\n', 'replied_content': {'id': 316535, 'type': 3, 'pictorial_id': 316535, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/2019/09/19/1420/2f6e3b0e278f-thumb'}}, {'user_id': 241407259, 'name': '满天都是小晶晶', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/4be551d2c4-w', 'id': 16142651, 'is_like': False, 'time': 1568887395.797834, 'content': '激情留名\n', 'replied_content': {'id': 316535, 'type': 3, 'pictorial_id': 316535, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/2019/09/19/1420/2f6e3b0e278f-thumb'}}, {'user_id': 241407119, 'name': 'Memorial.', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/ca2f8adc94-w', 'id': 16141894, 'is_like': False, 'time': 1568887207.825473, 'content': '很棒啊,必须支持!!!!\n', 'replied_content': {'id': 316535, 'type': 3, 'pictorial_id': 316535, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/2019/09/19/1420/2f6e3b0e278f-thumb'}}, {'user_id': 241407097, 'name': 'Solitude', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/386f4cac2d-w', 'id': 16141893, 'is_like': False, 'time': 1568887207.543955, 'content': '啊啊啊啊啊啊,太突然了~我以为是假的', 'replied_content': {'id': 316535, 'type': 3, 'pictorial_id': 316535, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/2019/09/19/1420/2f6e3b0e278f-thumb'}}, {'user_id': 241407128, 'name': 'indulge', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/69611a519c-w', 'id': 15918685, 'is_like': False, 'time': 1567137662.217567, 'content': '我也想成为你的铁粉\n', 'replied_content': {'id': 306251, 'type': 3, 'pictorial_id': 306251, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/2019/08/29/1139/0280abe1f587-thumb'}}, {'user_id': 241407358, 'name': '离沫倾城', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/21/c2fd90045d-w', 'id': 15913679, 'is_like': False, 'time': 1567101637.8449, 'content': '继续加油,我们一直支持你\n', 'replied_content': {'id': 306251, 'type': 3, 'pictorial_id': 306251, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/2019/08/29/1139/0280abe1f587-thumb'}}, {'user_id': 241407058, 'name': 'wild boy', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/24/2b9fca0930-w', 'id': 15913678, 'is_like': False, 'time': 1567101637.576256, 'content': '前排占坑表白此榜\n', 'replied_content': {'id': 306251, 'type': 3, 'pictorial_id': 306251, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/2019/08/29/1139/0280abe1f587-thumb'}}, {'user_id': 241407419, 'name': '习惯转身', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/21/542fb701f6-w', 'id': 15907692, 'is_like': False, 'time': 1567072853.877225, 'content': '看各种榜单是我的快乐源泉\n', 'replied_content': {'id': 306251, 'type': 3, 'pictorial_id': 306251, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/2019/08/29/1139/0280abe1f587-thumb'}}, {'user_id': 241407496, 'name': '陶喜儿', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/20/29e7e4dfbe-w', 'id': 15907691, 'is_like': False, 'time': 1567072853.597258, 'content': '一直默默地关注你,现在真的藏不住了!\n', 'replied_content': {'id': 306251, 'type': 3, 'pictorial_id': 306251, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/2019/08/29/1139/0280abe1f587-thumb'}}, {'user_id': 241407108, 'name': 'Rampant', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/1854880a18-w', 'id': 15907619, 'is_like': False, 'time': 1567072836.115945, 'content': '一直默默地关注你,现在真的藏不住了!\n', 'replied_content': {'id': 305859, 'type': 3, 'pictorial_id': 305859, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/e50fbbc69c-thumb'}}], 'user_type': {}}
</pre> </pre>
...@@ -453,7 +453,260 @@ pt2.2: 点赞关注未读数{'error': 0, 'message': '', 'extra': None, 'data': { ...@@ -453,7 +453,260 @@ pt2.2: 点赞关注未读数{'error': 0, 'message': '', 'extra': None, 'data': {
</div> </div>
<pre> <pre>
pt2.3: 点赞列表接口{'error': 0, 'message': '', 'extra': None, 'data': [{'type': 2, 'id': 3542225, 'content': 'Vera维拉是我催你更新啦~', 'user_id': 241407456, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/20/e17a19d35d-w', 'unread': False}, {'type': 2, 'id': 3533657, 'content': '冰柠檬催你更新啦~', 'user_id': 241407333, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/d9fadc126b-w', 'unread': False}, {'type': 2, 'id': 3401891, 'content': '米修米修催你更新啦~', 'user_id': 241407264, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/9d94ec0824-w', 'unread': False}, {'type': 2, 'id': 3394334, 'content': '别再多心@催你更新啦~', 'user_id': 241407362, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/21/1e6624917e-w', 'unread': False}, {'type': 2, 'id': 3386311, 'content': '菠萝Lucy催你更新啦~', 'user_id': 241407516, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/20/e265a3102f-w', 'unread': False}, {'type': 2, 'id': 3377934, 'content': 'S̶i̶n̶k̶沉沦催你更新啦~', 'user_id': 241407099, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/8afeaa5136-w', 'unread': False}, {'type': 2, 'id': 3373701, 'content': '一叶知秋催你更新啦~', 'user_id': 241407241, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/13e8a2898b-w', 'unread': False}, {'type': 2, 'id': 3280677, 'content': '梅子酱催你更新啦~', 'user_id': 241407224, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/578d15f61f-w', 'unread': False}, {'user_id': 241407321, 'name': '能不能不忧伤', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/34232366d9-w', 'time': 1566209785.623652, 'type': 0, 'like_content': {'type': 0, 'id': 46801729, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/683675d0c8-thumb'}}, {'user_id': 241407417, 'name': '曳女', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/21/ba672dea03-w', 'time': 1566209785.429212, 'type': 0, 'like_content': {'type': 0, 'id': 46801728, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/3769122dca-thumb'}}], 'user_type': {}} pt2.3: 点赞列表接口{'error': 0, 'message': '', 'extra': None, 'data': [{'user_id': 241407505, 'name': '小猪仔', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/20/6366daa997-w', 'time': 1568876524.096049, 'type': 0, 'like_content': {'type': 0, 'id': 46831243, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/2019/09/19/1420/2f6e3b0e278f-thumb'}}, {'user_id': 241407171, 'name': '我是萌儿', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/c37800e53c-w', 'time': 1568876403.774216, 'type': 0, 'like_content': {'type': 0, 'id': 46831243, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/2019/09/19/1420/2f6e3b0e278f-thumb'}}, {'user_id': 241407517, 'name': '腿长两米珍妮花', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/20/b0f58678af-w', 'time': 1568874303.52282, 'type': 0, 'like_content': {'type': 0, 'id': 46831243, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/2019/09/19/1420/2f6e3b0e278f-thumb'}}, {'type': 2, 'id': 3817236, 'content': 'Absurd催你更新啦~', 'user_id': 241407162, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/d5fc7b8a43-w', 'unread': False}, {'type': 2, 'id': 3808772, 'content': '浮萍一生催你更新啦~', 'user_id': 241407378, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/21/cef7fecf8d-w', 'unread': False}, {'type': 2, 'id': 3675239, 'content': 'Memorial.催你更新啦~', 'user_id': 241407119, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/ca2f8adc94-w', 'unread': False}, {'type': 2, 'id': 3663230, 'content': '旺仔牛奶催你更新啦~', 'user_id': 241407212, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/2a17ab3a1a-w', 'unread': False}, {'type': 2, 'id': 3639387, 'content': 'bigotry催你更新啦~', 'user_id': 241407153, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/96e6079664-w', 'unread': False}, {'type': 2, 'id': 3541794, 'content': '大喵cici催你更新啦~', 'user_id': 241407440, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/20/f320e2906c-w', 'unread': False}, {'type': 2, 'id': 3533256, 'content': 'Temi酱催你更新啦~', 'user_id': 241407495, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/20/5d8e05ed71-w', 'unread': False}], 'user_type': {}}
</pre>
</div>
<!--css div popup end-->
</td>
<td></td>
</tr>
<tr id='pt2.4' class='hiddenRow'>
<td ><div class='testcase'>test_05: 取最新通知信息</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<span class='status passCase'>
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt2.4')" >
通过</a></span>
<div id='div_pt2.4' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt2.4').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt2.4: 取最新通知信息{'error': 0, 'message': '', 'extra': None, 'data': {'id': 320, 'title': '#唐嫣怀孕#', 'content': '唐嫣怀孕啦!!!', 'icon': 'http://alpha-s.iyanzhi.com/banner/2019/09/19/85f87b4cc0', 'push_time': 1568891100.0, 'url': 'alpha://pictorial_detail?pictorial_id=9941', 'push_time_str': '2019-09-19 19:00:05', 'user': {'id': 225, 'name': ''}}, 'user_type': {}}
</pre>
</div>
<!--css div popup end-->
</td>
<td></td>
</tr>
<tr id='pt2.5' class='hiddenRow'>
<td ><div class='testcase'>test_06: 通知列表</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<span class='status passCase'>
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt2.5')" >
通过</a></span>
<div id='div_pt2.5' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt2.5').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt2.5: 通知列表{'error': 0, 'message': '', 'extra': None, 'data': [{'id': 320, 'title': '#唐嫣怀孕#', 'content': '唐嫣怀孕啦!!!', 'icon': 'http://alpha-s.iyanzhi.com/banner/2019/09/19/85f87b4cc0', 'push_time': 1568891100.0, 'url': 'alpha://pictorial_detail?pictorial_id=9941'}, {'id': 318, 'title': '#杨丞琳李荣浩领证#', 'content': '官宣!杨丞琳李荣浩领证了!', 'icon': 'http://alpha-s.iyanzhi.com/banner/2019/09/19/7a6a2967ae', 'push_time': 1568879100.0, 'url': 'alpha://pictorial_detail?pictorial_id=17534'}, {'id': 317, 'title': '#宣美关晓彤同框#', 'content': '关晓彤宣美时装周同框,谁的状态比较能打?', 'icon': 'http://alpha-s.iyanzhi.com/banner/2019/09/19/5614425f88', 'push_time': 1568865600.0, 'url': 'alpha://pictorial_detail?pictorial_id=17389'}, {'id': 316, 'title': '#秋季发色#', 'content': '正值换季,你的发色也该换换了~', 'icon': 'http://alpha-s.iyanzhi.com/banner/2019/09/18/a429ef5ea5', 'push_time': 1568815200.0, 'url': 'alpha://pictorial_detail?pictorial_id=313704'}, {'id': 315, 'title': '#陈乔恩#', 'content': '曾经的偶像剧女王,居然上节目公开相亲?!', 'icon': 'http://alpha-s.iyanzhi.com/banner/2019/09/18/7d0bc2edae', 'push_time': 1568782800.0, 'url': 'alpha://pictorial_detail?pictorial_id=15499'}, {'id': 314, 'title': '#美白产品#', 'content': '人气美白产品哪家强?', 'icon': 'http://alpha-s.iyanzhi.com/banner/2019/09/17/cab59cf588', 'push_time': 1568728800.0, 'url': 'alpha://pictorial_detail?pictorial_id=301530'}, {'id': 313, 'title': '#周杰伦新歌#', 'content': '周杰伦的MV女主从来没输过!', 'icon': 'http://alpha-s.iyanzhi.com/banner/2019/09/17/000cf462f0', 'push_time': 1568692800.0, 'url': 'alpha://pictorial_detail?pictorial_id=9636'}, {'id': 312, 'title': '#活动#', 'content': '又双叒叕过敏了TAT,在抗敏大作战中前赴后继的姐妹们,求分享抗敏好物呀~', 'icon': 'http://alpha-s.iyanzhi.com/banner/2019/09/16/1fa6a53aeb', 'push_time': 1568633400.0, 'url': 'alpha://topic_detail?topic_id=46825708'}, {'id': 311, 'title': '#美白#', 'content': '谁说没有“钞能力”就不能美白了?SK2小灯泡平替了解一下~', 'icon': 'http://alpha-s.iyanzhi.com/banner/2019/09/16/fca66baea6', 'push_time': 1568617200.0, 'url': 'alpha://pictorial_detail?pictorial_id=301530'}, {'id': 304, 'title': '#口红#', 'content': '来不及解释了,快上车!最in的橘色口红全在这里', 'icon': 'http://alpha-s.iyanzhi.com/banner/2019/09/11/cb915aeb75', 'push_time': 1568556000.0, 'url': 'alpha://pictorial_detail?pictorial_id=296176'}], 'user_type': {}}
</pre>
</div>
<!--css div popup end-->
</td>
<td></td>
</tr>
<tr id='pt2.6' class='hiddenRow'>
<td ><div class='testcase'>test_07: 上传文件token获取</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<span class='status passCase'>
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt2.6')" >
通过</a></span>
<div id='div_pt2.6' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt2.6').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt2.6: 上传文件token获取{'error': 0, 'message': '', 'extra': None, 'data': {'token': 'UPCOYIJkZOMcdd9FDzpBqYjzWUh55fBpVi3AhWpL:rPsA8kNmLiu9trQwRLIoTyLB4Cw=:eyJzY29wZSI6ImFscGhhIiwiZGVhZGxpbmUiOjE1Njg4OTQ3NDl9', 'token_type': 1}, 'user_type': {}}
</pre>
</div>
<!--css div popup end-->
</td>
<td></td>
</tr>
<tr class='errorClass'>
<td>case_pictorial.Case</td>
<td>8</td>
<td>6</td>
<td>0</td>
<td>2</td>
<td><a href="javascript:showClassDetail('c3',8)">详情</a></td>
<td>&nbsp;</td>
</tr>
<tr id='pt3.1' class='hiddenRow'>
<td ><div class='testcase'>test_01: earth榜单活动信息接口</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<span class='status passCase'>
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt3.1')" >
通过</a></span>
<div id='div_pt3.1' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt3.1').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt3.1: earth榜单活动信息接口{'error': 0, 'message': '', 'extra': None, 'data': {'activity_info': {'id': 1, 'start_time': '2019-08-22 14:42:41', 'end_time': '2019-08-31 00:00:00', 'banner': 'http://alpha-s.iyanzhi.com/2019/07/30/89d69b3f3e', 'name': '神仙好物 PK 死都不买', 'content': '在剁手的路上,你花过多少冤枉钱?\n显黑口红、烂脸洗面奶、晕妆眼线笔……钱包一天比一天消瘦;\n同时,又遇到过多少神仙好物?让大油皮不再哀嚎、军训完分分钟白回来!\n不管有多少,今天都可以和姐妹们畅所欲言,让大家都不再花冤枉钱!\n#神仙好物pk死都不买,等你来打榜!#', 'is_valid': 0}, 'tabs': [{'type': 'ranking', 'name': '热门'}, {'type': 'recommend', 'name': '推荐'}, {'type': 'ad_campaign', 'name': '更多活动'}], 'share_data': {'image': 'http://alpha.iyanzhi.com/topic/2019/08/24/167893c3b1-thumb', 'url': 'http://earth.iyanzhi.com/alpha/list-activity?activity_id=1', 'wechat': {'title': '神仙好物pk死都不买,等你来打榜!', 'content': '神仙好物 PK 死都不买'}, 'wechatline': {'title': '神仙好物pk死都不买,等你来打榜!', 'content': ''}, 'qq': {'title': '神仙好物pk死都不买,等你来打榜!', 'content': '神仙好物 PK 死都不买'}, 'weibo': {'title': '神仙好物pk死都不买,等你来打榜!', 'content': ''}, 'wechatmini': {}}}, 'user_type': {}}
</pre>
</div>
<!--css div popup end-->
</td>
<td></td>
</tr>
<tr id='pt3.2' class='hiddenRow'>
<td ><div class='testcase'>test_02: earth榜单活动卡片接口</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<span class='status passCase'>
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt3.2')" >
通过</a></span>
<div id='div_pt3.2' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt3.2').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt3.2: earth榜单活动卡片接口{'error': 0, 'message': '', 'extra': None, 'data': {'cards': [{'type': 5, 'pictorial_activity': {'id': 2, 'vote_num': 21345, 'name': 'Like星球', 'content': 'Likee每天都为小伙伴们准备了好玩的活动+诱人的福利\n\n快来登陆Like星球/成为L星人\n\n和Like一起探索美丽世界,解锁时尚生活~', 'image': 'http://alpha.iyanzhi.com/6d0d98a0445411e9b2bd556132ee479c.jpg'}}]}, 'user_type': {}}
</pre>
</div>
<!--css div popup end-->
</td>
<td></td>
</tr>
<tr id='pt3.3' class='hiddenRow'>
<td ><div class='testcase'>test_03: 画报信息接口</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<span class='status passCase'>
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt3.3')" >
通过</a></span>
<div id='div_pt3.3' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt3.3').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt3.3: 画报信息接口{'error': 0, 'message': '', 'extra': None, 'data': {'pictorial': {'id': 316139, 'name': '我的LIKE', 'desc': '我的Like私人领地', 'icon': None, 'reply_reminder': '添加评论...', 'topic_num': None, 'creator': {'id': 241843722, 'name': 'momo', 'icon': 'http://alpha.iyanzhi.com/2019/09/18/1413/00237afec984-w'}, 'is_follow': False, 'is_own': False, 'is_public': False, 'reply_num': 7, 'is_participate': False, 'activity': {}, 'replies': [{'id': 16142311, 'content': '保持这个营业速度\n', 'replied_id': None, 'like_num': 0, 'create_time': 1568887313.511978, 'is_like': False, 'pictorial_id': 316139, 'reply_num': 0, 'reply_num_str': '共有0条评论', 'user': {'id': 241407131, 'name': 'Heartdeficiency\xa0', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/e78ae6082b-w'}}, {'id': 16139244, 'content': '前排留个名吧\n', 'replied_id': None, 'like_num': 0, 'create_time': 1568872890.518341, 'is_like': False, 'pictorial_id': 316139, 'reply_num': 0, 'reply_num_str': '共有0条评论', 'user': {'id': 241407209, 'name': '蓝纹女孩在', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/c1237ab324-w'}}, {'id': 16135443, 'content': '真棒呀,支持!\n', 'replied_id': None, 'like_num': 0, 'create_time': 1568815407.229076, 'is_like': False, 'pictorial_id': 316139, 'reply_num': 0, 'reply_num_str': '共有0条评论', 'user': {'id': 241407252, 'name': '飞天小女警', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/41f7030fb4-w'}}, {'id': 16128190, 'content': '为你沦陷了~\n', 'replied_id': None, 'like_num': 0, 'create_time': 1568800966.833127, 'is_like': False, 'pictorial_id': 316139, 'reply_num': 0, 'reply_num_str': '共有0条评论', 'user': {'id': 241407430, 'name': '黑怕不怕黑', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/20/700d2075d9-w'}}, {'id': 16128189, 'content': '真棒呀,支持!\n', 'replied_id': None, 'like_num': 0, 'create_time': 1568800966.628813, 'is_like': False, 'pictorial_id': 316139, 'reply_num': 0, 'reply_num_str': '共有0条评论', 'user': {'id': 241407276, 'name': '二源萌瞎我眼!', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/3f11790a0f-w'}}, {'id': 16127539, 'content': '为了贡献一个粉丝数上来关注一下\n', 'replied_id': None, 'like_num': 0, 'create_time': 1568800815.802829, 'is_like': False, 'pictorial_id': 316139, 'reply_num': 0, 'reply_num_str': '共有0条评论', 'user': {'id': 241407116, 'name': 'obsession', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/c42ad882e6-w'}}, {'id': 16127538, 'content': '先马一下一会看\n', 'replied_id': None, 'like_num': 0, 'create_time': 1568800815.534097, 'is_like': False, 'pictorial_id': 316139, 'reply_num': 0, 'reply_num_str': '共有0条评论', 'user': {'id': 241407137, 'name': 'Eccentric°', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/7d8ae71394-w'}}], 'celebrity': {}, 'tabs': [{'type': 9, 'name': '最新', 'num': '0'}, {'type': 10, 'name': '总榜', 'num': '0'}], 'share_data': {'image': 'http://alpha.iyanzhi.com/topic/2019/04/15/6ebc7ee249-thumb', 'url': 'http://earth.iyanzhi.com/alpha/pictorial/invite?pictorial_id=316139&amp;user_id=241408085', 'wechat': {'title': '@momo 在Like APP发起了一个超棒的榜单,快来投票!', 'content': '我的LIKE'}, 'wechatline': {'title': '@momo 在Like APP发起了一个超棒的榜单,快来投票!', 'content': '@momo 在Like APP发起了一个超棒的榜单,快来投票!'}, 'qq': {'title': '@momo 在Like APP发起了一个超棒的榜单,快来投票!', 'content': ''}, 'weibo': {'title': '@momo 在Like APP发起了一个超棒的榜单,快来投票!', 'content': ''}, 'wechatmini': {}}}}, 'user_type': {}}
</pre>
</div>
<!--css div popup end-->
</td>
<td></td>
</tr>
<tr id='pt3.4' class='hiddenRow'>
<td ><div class='testcase'>test_04: 画报卡片</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<span class='status passCase'>
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt3.4')" >
通过</a></span>
<div id='div_pt3.4' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt3.4').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt3.4: 画报卡片接口01{'error': 0, 'message': '', 'extra': None, 'data': {'cards': [{'type': 3, 'pictorial': {'id': 316535, 'name': '美白,更美你自己', 'reply_num': 4, 'vote_num': 1, 'ballot_num': 1, 'images_num': 1, 'update_time': '2019-09-19 14:29:18', 'images': [{'image_url': 'http://alpha.iyanzhi.com/2019/09/19/1420/2f6e3b0e278f', 'video_url': '', 'width': 1080, 'height': 1920}], 'index_images': [{'image_url': 'http://alpha.iyanzhi.com/2019/09/19/1420/2f6e3b0e278f', 'video_url': '', 'width': 1080, 'height': 1920}], 'is_follow': True, 'is_add_topic': True}}, {'type': 3, 'pictorial': {'id': 305859, 'name': '这些包包300块背起来像是300万?', 'reply_num': 9, 'vote_num': 14, 'ballot_num': 14, 'images_num': 2, 'update_time': '2019-08-28 17:31:40', 'images': [{'image_url': 'http://alpha.iyanzhi.com/2019/08/28/1731/fae97acd5847', 'video_url': '', 'width': 1080, 'height': 1920}, {'image_url': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/e50fbbc69c', 'video_url': '', 'width': 400, 'height': 400}], 'index_images': [{'image_url': 'http://alpha.iyanzhi.com/2019/08/28/1731/fae97acd5847', 'video_url': '', 'width': 1080, 'height': 1920}, {'image_url': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/e50fbbc69c', 'video_url': '', 'width': 400, 'height': 400}], 'is_follow': True, 'is_add_topic': True}}]}, 'user_type': {}}
</pre>
</div>
<!--css div popup end-->
</td>
<td></td>
</tr>
<tr id='pt3.5' class='hiddenRow'>
<td ><div class='testcase'>test_05: 画报卡片</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<span class='status passCase'>
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt3.5')" >
通过</a></span>
<div id='div_pt3.5' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt3.5').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt3.5: 画报卡片接口02{'error': 0, 'message': '', 'extra': None, 'data': {'cards': []}, 'user_type': {}}
</pre>
</div>
<!--css div popup end-->
</td>
<td></td>
</tr>
<tr id='pt3.6' class='hiddenRow'>
<td ><div class='testcase'>test_06: 画报帖子添加关系接口</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<span class='status passCase'>
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt3.6')" >
通过</a></span>
<div id='div_pt3.6' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt3.6').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt3.6: 画报帖子添加关系接口{'error': 0, 'message': '', 'extra': None, 'data': {}, 'user_type': {}}
</pre> </pre>
...@@ -464,29 +717,79 @@ pt2.3: 点赞列表接口{'error': 0, 'message': '', 'extra': None, 'data': [{'t ...@@ -464,29 +717,79 @@ pt2.3: 点赞列表接口{'error': 0, 'message': '', 'extra': None, 'data': [{'t
<td></td> <td></td>
</tr> </tr>
<tr id='ft2.4' class='none'> <tr id='ft3.7' class='none'>
<td ><div class='testcase'>test_04: 获取socket地址</div></td> <td ><div class='testcase'>test_07: 画报搜索</div></td>
<td colspan='5' align='center'> <td colspan='5' align='center'>
<!--css div popup start--> <!--css div popup start-->
<span class='status failCase'> <span class='status errorCase'>
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft2.4')" > <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft3.7')" >
失败</a></span> 错误</a></span>
<div id='div_ft2.4' class="popup_window"> <div id='div_ft3.7' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'> <div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_ft2.4').style.display = 'none' " > <a onfocus='this.blur();' onclick="document.getElementById('div_ft3.7').style.display = 'none' " >
[x]</a> [x]</a>
</div> </div>
<pre> <pre>
ft2.4: 获取socket地址{'error': 1, 'error_code': -1, 'extra': None, 'message': '默认错误', 'user_type': {}, 'data': {}} ft3.7: Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 159, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 57, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last): Traceback (most recent call last):
File "/Users/bingyinliu/PycharmProjects/untitled1/case/case_news.py", line 88, in test_04 File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
assertclass.error_code(error_code, p) chunked=chunked)
File "/Users/bingyinliu/PycharmProjects/untitled1/assert_method/assertclass.py", line 9, in error_code File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 354, in _make_request
assert error_code == 0, "{}error报错:%s!= %s".format(p) % (error_code, 0) conn.request(method, url, **httplib_request_kw)
AssertionError: 获取socket地址error报错:1!= 0 File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1229, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1275, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1224, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1016, in _send_output
self.send(msg)
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 956, in send
self.connect()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 181, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 168, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: &lt;urllib3.connection.HTTPConnection object at 0x11070e4e0&gt;: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 399, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='earth.iyanzhi.comapi', port=80): Max retries exceeded with url: /pictorial/search?name=%E6%98%8E%E6%98%9F (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x11070e4e0&gt;: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/bingyinliu/PycharmProjects/alpha-earth-interface/case/case_pictorial.py", line 104, in test_07
result = self.s.get(url=url)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='earth.iyanzhi.comapi', port=80): Max retries exceeded with url: /pictorial/search?name=%E6%98%8E%E6%98%9F (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x11070e4e0&gt;: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
</pre> </pre>
...@@ -497,29 +800,197 @@ AssertionError: 获取socket地址error报错:1!= 0 ...@@ -497,29 +800,197 @@ AssertionError: 获取socket地址error报错:1!= 0
<td></td> <td></td>
</tr> </tr>
<tr id='ft2.5' class='none'> <tr id='ft3.8' class='none'>
<td ><div class='testcase'>test_04: 获取socket地址_retry:1</div></td> <td ><div class='testcase'>test_07: 画报搜索_retry:1</div></td>
<td colspan='5' align='center'> <td colspan='5' align='center'>
<!--css div popup start--> <!--css div popup start-->
<span class='status failCase'> <span class='status errorCase'>
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft2.5')" > <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft3.8')" >
失败</a></span> 错误</a></span>
<div id='div_ft2.5' class="popup_window"> <div id='div_ft3.8' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'> <div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_ft2.5').style.display = 'none' " > <a onfocus='this.blur();' onclick="document.getElementById('div_ft3.8').style.display = 'none' " >
[x]</a> [x]</a>
</div> </div>
<pre> <pre>
ft2.5: 获取socket地址{'error': 1, 'error_code': -1, 'extra': None, 'message': '默认错误', 'user_type': {}, 'data': {}} ft3.8: Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 159, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 57, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last): Traceback (most recent call last):
File "/Users/bingyinliu/PycharmProjects/untitled1/case/case_news.py", line 88, in test_04 File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
assertclass.error_code(error_code, p) chunked=chunked)
File "/Users/bingyinliu/PycharmProjects/untitled1/assert_method/assertclass.py", line 9, in error_code File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 354, in _make_request
assert error_code == 0, "{}error报错:%s!= %s".format(p) % (error_code, 0) conn.request(method, url, **httplib_request_kw)
AssertionError: 获取socket地址error报错:1!= 0 File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1229, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1275, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1224, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1016, in _send_output
self.send(msg)
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 956, in send
self.connect()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 181, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 168, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: &lt;urllib3.connection.HTTPConnection object at 0x110795518&gt;: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 399, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='earth.iyanzhi.comapi', port=80): Max retries exceeded with url: /pictorial/search?name=%E6%98%8E%E6%98%9F (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x110795518&gt;: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/bingyinliu/PycharmProjects/alpha-earth-interface/case/case_pictorial.py", line 104, in test_07
result = self.s.get(url=url)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='earth.iyanzhi.comapi', port=80): Max retries exceeded with url: /pictorial/search?name=%E6%98%8E%E6%98%9F (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x110795518&gt;: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
</pre>
</div>
<!--css div popup end-->
</td>
<td></td>
</tr>
<tr class='passClass'>
<td>case_tag.Case</td>
<td>4</td>
<td>4</td>
<td>0</td>
<td>0</td>
<td><a href="javascript:showClassDetail('c4',4)">详情</a></td>
<td>&nbsp;</td>
</tr>
<tr id='pt4.1' class='hiddenRow'>
<td ><div class='testcase'>test_01: 标签信息接口</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<span class='status passCase'>
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt4.1')" >
通过</a></span>
<div id='div_pt4.1' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt4.1').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt4.1: 标签信息接口{'error': 0, 'message': '', 'extra': None, 'data': {'tag': {'id': 10328855, 'name': '悠莱', 'description': '', 'is_follow': False}, 'relation_tags': []}, 'user_type': {}}
</pre>
</div>
<!--css div popup end-->
</td>
<td></td>
</tr>
<tr id='pt4.2' class='hiddenRow'>
<td ><div class='testcase'>test_03: 标签搜索接口</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<span class='status passCase'>
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt4.2')" >
通过</a></span>
<div id='div_pt4.2' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt4.2').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt4.2: 标签搜索接口{'error': 0, 'message': '', 'extra': None, 'data': {'tags': [{'name': '口红', 'id': 184768}, {'name': '保湿', 'id': 179294}, {'name': '精华', 'id': 26363}, {'name': '美白', 'id': 28550}, {'name': '腮红', 'id': 82536}, {'name': '去黑头', 'id': 33790}, {'name': '眼影', 'id': 125294}, {'name': '彩妆', 'id': 85050}, {'name': '面膜', 'id': 16182}, {'name': '洁面', 'id': 107255}]}, 'user_type': {}}
</pre>
</div>
<!--css div popup end-->
</td>
<td></td>
</tr>
<tr id='pt4.3' class='hiddenRow'>
<td ><div class='testcase'>test_04: 标签选择页面数据接口</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<span class='status passCase'>
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt4.3')" >
通过</a></span>
<div id='div_pt4.3' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt4.3').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt4.3: 标签选择页面数据接口{'error': 0, 'message': '', 'extra': None, 'data': {'types': []}, 'user_type': {}}
</pre>
</div>
<!--css div popup end-->
</td>
<td></td>
</tr>
<tr id='pt4.4' class='hiddenRow'>
<td ><div class='testcase'>test_05: 标签选择页面数据</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<span class='status passCase'>
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt4.4')" >
通过</a></span>
<div id='div_pt4.4' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt4.4').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt4.4: 标签选择页面数据{'error': 0, 'message': '', 'extra': None, 'data': {'types': []}, 'user_type': {}}
</pre> </pre>
...@@ -532,16 +1003,16 @@ AssertionError: 获取socket地址error报错:1!= 0 ...@@ -532,16 +1003,16 @@ AssertionError: 获取socket地址error报错:1!= 0
<tr id='total_row'> <tr id='total_row'>
<td>统计</td> <td>统计</td>
<td>8</td> <td>21</td>
<td>6</td> <td>19</td>
<td>2</td>
<td>0</td> <td>0</td>
<td>2</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
</table> </table>
<script> <script>
drawCircle(6, 2, 0) drawCircle(19, 0, 2)
</script> </script>
<div id='ending'>&nbsp;</div> <div id='ending'>&nbsp;</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment