Commit 46d95e31 by zhaihuitao

update

parent 46607fa6
......@@ -4,6 +4,8 @@
<list default="true" id="d0064643-2990-4ed3-bfb0-875849b30f4e" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/config/envcfg.py" afterPath="$PROJECT_DIR$/config/envcfg.py" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/testcase/android_click/click.py" afterPath="$PROJECT_DIR$/testcase/android_click/click.py" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/testcase/android_click/test_click.py" afterPath="$PROJECT_DIR$/testcase/android_click/test_click.py" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" />
......@@ -13,9 +15,11 @@
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="CoverageDataManager">
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_for_test_click_clickTestCase_testclick.coverage" NAME="Nosetests for test_click.clickTestCase.testclick Coverage Results" MODIFIED="1599547616053" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_click" />
<SUITE FILE_PATH="coverage/interfaceTest$params.coverage" NAME="params Coverage Results" MODIFIED="1597980084524" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/config/prod" />
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_in_test_register_py.coverage" NAME="Nosetests in test_register.py Coverage Results" MODIFIED="1597913123658" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_events" />
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_in_test_batchUpload_py.coverage" NAME="Nosetests in test_batchUpload.py Coverage Results" MODIFIED="1598511528888" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_events" />
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_for_test_click_clickTestCase_click.coverage" NAME="Nosetests for test_click.clickTestCase.click Coverage Results" MODIFIED="1599534820758" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_click" />
<SUITE FILE_PATH="coverage/trackingIO$Nosetests_for_test_install_installTestCase.coverage" NAME="Nosetests for test_install.installTestCase Coverage Results" MODIFIED="1597283305272" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_click" />
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_in_test_install_py.coverage" NAME="Nosetests in test_install.py Coverage Results" MODIFIED="1598520228983" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_events" />
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_in_test_login_py.coverage" NAME="Nosetests in test_login.py Coverage Results" MODIFIED="1597913967120" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_events" />
......@@ -29,7 +33,9 @@
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_in_test_custom_py.coverage" NAME="Nosetests in test_custom.py Coverage Results" MODIFIED="1597999802477" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_events" />
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_in_test_adshow_py.coverage" NAME="Nosetests in test_adshow.py Coverage Results" MODIFIED="1598004274765" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_events" />
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_for_test_install_installTestCase_testinstall.coverage" NAME="Nosetests for test_install.installTestCase.testinstall Coverage Results" MODIFIED="1598519134009" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_events" />
<SUITE FILE_PATH="coverage/interfaceTest$click.coverage" NAME="click Coverage Results" MODIFIED="1599534306408" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_click" />
<SUITE FILE_PATH="coverage/trackingIO$Nosetests_in_test_click_py.coverage" NAME="Nosetests in test_click.py Coverage Results" MODIFIED="1596791537385" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_click" />
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_in_test_click_py.coverage" NAME="Nosetests in test_click.py Coverage Results" MODIFIED="1599547427568" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_click" />
<SUITE FILE_PATH="coverage/interfaceTest$Nosetests_in_test_adclick_py.coverage" NAME="Nosetests in test_adclick.py Coverage Results" MODIFIED="1598607297129" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_events" />
<SUITE FILE_PATH="coverage/trackingIO$randomUtil.coverage" NAME="randomUtil Coverage Results" MODIFIED="1596785449001" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/common" />
<SUITE FILE_PATH="coverage/trackingIO$Nosetests_for_test_click_clickTestCase.coverage" NAME="Nosetests for test_click.clickTestCase Coverage Results" MODIFIED="1596792693473" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase/android_click" />
......@@ -59,8 +65,8 @@
<file leaf-file-name="params.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/config/prod/params.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-73">
<caret line="25" column="51" lean-forward="true" selection-start-line="25" selection-start-column="51" selection-end-line="25" selection-end-column="51" />
<state relative-caret-position="119">
<caret line="13" column="0" lean-forward="false" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
<folding>
<element signature="e#97#108#0" expanded="true" />
</folding>
......@@ -100,21 +106,21 @@
</provider>
</entry>
</file>
<file leaf-file-name="test_adclick.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_adclick.py">
<file leaf-file-name="test_install.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_install.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="240">
<caret line="20" column="26" lean-forward="false" selection-start-line="20" selection-start-column="26" selection-end-line="20" selection-end-column="26" />
<state relative-caret-position="180">
<caret line="16" column="37" lean-forward="false" selection-start-line="16" selection-start-column="37" selection-end-line="16" selection-end-column="37" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="models.py" pinned="false" current-in-tab="false">
<entry file="file:///anaconda3/lib/python3.6/site-packages/requests/models.py">
<file leaf-file-name="test_adclick.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_adclick.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="127">
<caret line="372" column="0" lean-forward="false" selection-start-line="372" selection-start-column="0" selection-end-line="372" selection-end-column="0" />
<state relative-caret-position="195">
<caret line="17" column="79" lean-forward="false" selection-start-line="17" selection-start-column="79" selection-end-line="17" selection-end-column="79" />
<folding />
</state>
</provider>
......@@ -123,8 +129,8 @@
<file leaf-file-name="envcfg.py" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/config/envcfg.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="253">
<caret line="26" column="0" lean-forward="false" selection-start-line="26" selection-start-column="0" selection-end-line="26" selection-end-column="0" />
<state relative-caret-position="-405">
<caret line="6" column="3" lean-forward="true" selection-start-line="6" selection-start-column="3" selection-end-line="6" selection-end-column="3" />
<folding />
</state>
</provider>
......@@ -133,8 +139,8 @@
<file leaf-file-name="click.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_click/click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="352">
<caret line="109" column="0" lean-forward="false" selection-start-line="109" selection-start-column="0" selection-end-line="109" selection-end-column="0" />
<state relative-caret-position="119">
<caret line="13" column="32" lean-forward="false" selection-start-line="13" selection-start-column="32" selection-end-line="13" selection-end-column="32" />
<folding />
</state>
</provider>
......@@ -153,8 +159,8 @@
<file leaf-file-name="test_click.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_click/test_click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="352">
<caret line="62" column="0" lean-forward="false" selection-start-line="62" selection-start-column="0" selection-end-line="62" selection-end-column="0" />
<state relative-caret-position="146">
<caret line="22" column="64" lean-forward="false" selection-start-line="22" selection-start-column="64" selection-end-line="22" selection-end-column="64" />
<folding />
</state>
</provider>
......@@ -194,8 +200,6 @@
<option value="$PROJECT_DIR$/testcase/android_click/test_install.py" />
<option value="$PROJECT_DIR$/testcase/android_click/installEvent.py" />
<option value="$PROJECT_DIR$/testcase/android_events/installEvent.py" />
<option value="$PROJECT_DIR$/testcase/android_click/click.py" />
<option value="$PROJECT_DIR$/testcase/android_click/test_click.py" />
<option value="$PROJECT_DIR$/common/randomUtil.py" />
<option value="$PROJECT_DIR$/testcase/android_events/test_pay.py" />
<option value="$PROJECT_DIR$/testcase/android_events/test_adshow.py" />
......@@ -212,8 +216,10 @@
<option value="$PROJECT_DIR$/testcase/android_events/tokenTest.py" />
<option value="$PROJECT_DIR$/testcase/android_events/test_install.py" />
<option value="$PROJECT_DIR$/config/prod/params.py" />
<option value="$PROJECT_DIR$/testcase/android_events/test_adclick.py" />
<option value="$PROJECT_DIR$/config/envcfg.py" />
<option value="$PROJECT_DIR$/testcase/android_events/test_adclick.py" />
<option value="$PROJECT_DIR$/testcase/android_click/click.py" />
<option value="$PROJECT_DIR$/testcase/android_click/test_click.py" />
</list>
</option>
</component>
......@@ -395,8 +401,8 @@
</list>
</option>
</component>
<component name="RunManager" selected="Python tests.Nosetests in test_adclick.py">
<configuration default="false" name="Nosetests in tokenTest.py" type="tests" factoryName="Nosetests" temporary="true" nameIsGenerated="true">
<component name="RunManager" selected="Python tests.Nosetests for test_click.clickTestCase.testclick">
<configuration default="false" name="Nosetests in test_adclick.py" type="tests" factoryName="Nosetests" temporary="true" nameIsGenerated="true">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs />
......@@ -409,35 +415,35 @@
<EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" runner="coverage.py" />
<option name="_new_regexPattern" value="&quot;&quot;" />
<option name="_new_additionalArguments" value="&quot;&quot;" />
<option name="_new_target" value="&quot;$PROJECT_DIR$/testcase/android_events/tokenTest.py&quot;" />
<option name="_new_target" value="&quot;$PROJECT_DIR$/testcase/android_events/test_adclick.py&quot;" />
<option name="_new_targetType" value="&quot;PATH&quot;" />
<method />
</configuration>
<configuration default="false" name="tokenTest" type="PythonConfigurationType" factoryName="Python" temporary="true">
<configuration default="false" name="click" type="PythonConfigurationType" factoryName="Python" temporary="true">
<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$/testcase/android_events" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/testcase/android_click" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<module name="trackingIO" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/testcase/android_events/tokenTest.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/testcase/android_click/click.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<method />
</configuration>
<configuration default="false" name="Nosetests in test_install.py" type="tests" factoryName="Nosetests" temporary="true" nameIsGenerated="true">
<configuration default="false" name="Nosetests for test_click.clickTestCase.click" type="tests" factoryName="Nosetests" temporary="true" nameIsGenerated="true">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs />
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/testcase/android_events" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/testcase/android_click" />
<option name="IS_MODULE_SDK" value="false" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
......@@ -445,16 +451,16 @@
<EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" runner="coverage.py" />
<option name="_new_regexPattern" value="&quot;&quot;" />
<option name="_new_additionalArguments" value="&quot;&quot;" />
<option name="_new_target" value="&quot;$PROJECT_DIR$/testcase/android_events/test_install.py&quot;" />
<option name="_new_targetType" value="&quot;PATH&quot;" />
<option name="_new_target" value="&quot;test_click.clickTestCase.click&quot;" />
<option name="_new_targetType" value="&quot;PYTHON&quot;" />
<method />
</configuration>
<configuration default="false" name="Nosetests for test_install.installTestCase.testinstall" type="tests" factoryName="Nosetests" temporary="true" nameIsGenerated="true">
<configuration default="false" name="Nosetests in test_click.py" type="tests" factoryName="Nosetests" temporary="true" nameIsGenerated="true">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs />
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/testcase/android_events" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/testcase/android_click" />
<option name="IS_MODULE_SDK" value="false" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
......@@ -462,16 +468,16 @@
<EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" runner="coverage.py" />
<option name="_new_regexPattern" value="&quot;&quot;" />
<option name="_new_additionalArguments" value="&quot;&quot;" />
<option name="_new_target" value="&quot;test_install.installTestCase.testinstall&quot;" />
<option name="_new_targetType" value="&quot;PYTHON&quot;" />
<option name="_new_target" value="&quot;$PROJECT_DIR$/testcase/android_click/test_click.py&quot;" />
<option name="_new_targetType" value="&quot;PATH&quot;" />
<method />
</configuration>
<configuration default="false" name="Nosetests in test_adclick.py" type="tests" factoryName="Nosetests" temporary="true" nameIsGenerated="true">
<configuration default="false" name="Nosetests for test_click.clickTestCase.testclick" type="tests" factoryName="Nosetests" temporary="true" nameIsGenerated="true">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs />
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/testcase/android_events" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/testcase/android_click" />
<option name="IS_MODULE_SDK" value="false" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
......@@ -479,8 +485,8 @@
<EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" runner="coverage.py" />
<option name="_new_regexPattern" value="&quot;&quot;" />
<option name="_new_additionalArguments" value="&quot;&quot;" />
<option name="_new_target" value="&quot;$PROJECT_DIR$/testcase/android_events/test_adclick.py&quot;" />
<option name="_new_targetType" value="&quot;PATH&quot;" />
<option name="_new_target" value="&quot;test_click.clickTestCase.testclick&quot;" />
<option name="_new_targetType" value="&quot;PYTHON&quot;" />
<method />
</configuration>
<configuration default="true" type="DjangoTestsConfigurationType" factoryName="Django tests">
......@@ -633,19 +639,19 @@
<method />
</configuration>
<list size="5">
<item index="0" class="java.lang.String" itemvalue="Python tests.Nosetests in tokenTest.py" />
<item index="1" class="java.lang.String" itemvalue="Python.tokenTest" />
<item index="2" class="java.lang.String" itemvalue="Python tests.Nosetests in test_install.py" />
<item index="3" class="java.lang.String" itemvalue="Python tests.Nosetests for test_install.installTestCase.testinstall" />
<item index="4" class="java.lang.String" itemvalue="Python tests.Nosetests in test_adclick.py" />
<item index="0" class="java.lang.String" itemvalue="Python tests.Nosetests in test_adclick.py" />
<item index="1" class="java.lang.String" itemvalue="Python.click" />
<item index="2" class="java.lang.String" itemvalue="Python tests.Nosetests for test_click.clickTestCase.click" />
<item index="3" class="java.lang.String" itemvalue="Python tests.Nosetests in test_click.py" />
<item index="4" class="java.lang.String" itemvalue="Python tests.Nosetests for test_click.clickTestCase.testclick" />
</list>
<recent_temporary>
<list size="5">
<item index="0" class="java.lang.String" itemvalue="Python tests.Nosetests in test_adclick.py" />
<item index="1" class="java.lang.String" itemvalue="Python tests.Nosetests in test_install.py" />
<item index="2" class="java.lang.String" itemvalue="Python tests.Nosetests for test_install.installTestCase.testinstall" />
<item index="3" class="java.lang.String" itemvalue="Python.tokenTest" />
<item index="4" class="java.lang.String" itemvalue="Python tests.Nosetests in tokenTest.py" />
<item index="0" class="java.lang.String" itemvalue="Python tests.Nosetests for test_click.clickTestCase.testclick" />
<item index="1" class="java.lang.String" itemvalue="Python tests.Nosetests in test_click.py" />
<item index="2" class="java.lang.String" itemvalue="Python tests.Nosetests for test_click.clickTestCase.click" />
<item index="3" class="java.lang.String" itemvalue="Python.click" />
<item index="4" class="java.lang.String" itemvalue="Python tests.Nosetests in test_adclick.py" />
</list>
</recent_temporary>
</component>
......@@ -951,30 +957,37 @@
<option name="project" value="LOCAL" />
<updated>1598953479229</updated>
</task>
<option name="localTasksCounter" value="42" />
<task id="LOCAL-00042" summary="update">
<created>1599048133897</created>
<option name="number" value="00042" />
<option name="presentableId" value="LOCAL-00042" />
<option name="project" value="LOCAL" />
<updated>1599048133897</updated>
</task>
<option name="localTasksCounter" value="43" />
<servers />
</component>
<component name="TestHistory">
<history-entry file="Nosetests_in_test_adclick_py - 2020.08.28 at 17h 34m 58s.xml">
<configuration name="Nosetests in test_adclick.py" configurationId="tests" />
<history-entry file="Nosetests_for_test_click_clickTestCase_click - 2020.09.08 at 11h 05m 54s.xml">
<configuration name="Nosetests for test_click.clickTestCase.click" configurationId="tests" />
</history-entry>
<history-entry file="Nosetests_in_test_install_py - 2020.08.27 at 17h 04m 19s.xml">
<configuration name="Nosetests in test_install.py" configurationId="tests" />
<history-entry file="Nosetests_for_test_click_clickTestCase_click - 2020.09.08 at 11h 13m 16s.xml">
<configuration name="Nosetests for test_click.clickTestCase.click" configurationId="tests" />
</history-entry>
<history-entry file="Nosetests_in_test_install_py - 2020.08.27 at 17h 06m 18s.xml">
<configuration name="Nosetests in test_install.py" configurationId="tests" />
<history-entry file="Nosetests_for_test_click_clickTestCase_click - 2020.09.08 at 11h 13m 42s.xml">
<configuration name="Nosetests for test_click.clickTestCase.click" configurationId="tests" />
</history-entry>
<history-entry file="Nosetests_in_test_install_py - 2020.08.27 at 17h 06m 46s.xml">
<configuration name="Nosetests in test_install.py" configurationId="tests" />
<history-entry file="Nosetests_for_test_click_clickTestCase_testclick - 2020.09.08 at 14h 44m 27s.xml">
<configuration name="Nosetests for test_click.clickTestCase.testclick" configurationId="tests" />
</history-entry>
<history-entry file="Nosetests_in_test_install_py - 2020.08.27 at 17h 07m 41s.xml">
<configuration name="Nosetests in test_install.py" configurationId="tests" />
<history-entry file="Nosetests_for_test_click_clickTestCase_testclick - 2020.09.08 at 14h 46m 57s.xml">
<configuration name="Nosetests for test_click.clickTestCase.testclick" configurationId="tests" />
</history-entry>
<history-entry file="Nosetests_in_test_install_py - 2020.08.27 at 17h 08m 50s.xml">
<configuration name="Nosetests in test_install.py" configurationId="tests" />
<history-entry file="Nosetests_in_test_adclick_py - 2020.08.28 at 17h 34m 58s.xml">
<configuration name="Nosetests in test_adclick.py" configurationId="tests" />
</history-entry>
<history-entry file="Nosetests_in_test_install_py - 2020.08.27 at 17h 09m 59s.xml">
<configuration name="Nosetests in test_install.py" configurationId="tests" />
<history-entry file="Nosetests_in_test_click_py - 2020.09.08 at 14h 43m 49s.xml">
<configuration name="Nosetests in test_click.py" configurationId="tests" />
</history-entry>
<history-entry file="Nosetests_in_test_install_py - 2020.08.27 at 17h 13m 18s.xml">
<configuration name="Nosetests in test_install.py" configurationId="tests" />
......@@ -997,8 +1010,9 @@
</component>
<component name="ToolWindowManager">
<frame x="0" y="23" width="1280" height="724" extended-state="0" />
<editor active="true" />
<layout>
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2092084" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2092084" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32838285" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32838285" sideWeight="0.5072698" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32956383" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
......@@ -1324,14 +1338,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_install.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="120">
<caret line="12" column="0" lean-forward="false" selection-start-line="12" selection-start-column="0" selection-end-line="12" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_startup.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="120">
......@@ -1366,39 +1372,39 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_adshow.py">
<entry file="file://$PROJECT_DIR$/testcase/android_click/__init__.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="240">
<caret line="20" column="26" lean-forward="false" selection-start-line="20" selection-start-column="26" selection-end-line="20" selection-end-column="26" />
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_click/click.py">
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_adclick.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="352">
<caret line="109" column="0" lean-forward="false" selection-start-line="109" selection-start-column="0" selection-end-line="109" selection-end-column="0" />
<state relative-caret-position="195">
<caret line="17" column="79" lean-forward="false" selection-start-line="17" selection-start-column="79" selection-end-line="17" selection-end-column="79" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_click/__init__.py">
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_install.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<state relative-caret-position="180">
<caret line="16" column="37" lean-forward="false" selection-start-line="16" selection-start-column="37" selection-end-line="16" selection-end-column="37" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_click/test_click.py">
<entry file="file://$PROJECT_DIR$/testcase/android_click/click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="352">
<caret line="62" column="0" lean-forward="false" selection-start-line="62" selection-start-column="0" selection-end-line="62" selection-end-column="0" />
<state relative-caret-position="119">
<caret line="13" column="32" lean-forward="false" selection-start-line="13" selection-start-column="32" selection-end-line="13" selection-end-column="32" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_adclick.py">
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_adshow.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="240">
<caret line="20" column="26" lean-forward="false" selection-start-line="20" selection-start-column="26" selection-end-line="20" selection-end-column="26" />
......@@ -1406,10 +1412,18 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_click/test_click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="146">
<caret line="22" column="64" lean-forward="false" selection-start-line="22" selection-start-column="64" selection-end-line="22" selection-end-column="64" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/config/prod/params.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-73">
<caret line="25" column="51" lean-forward="true" selection-start-line="25" selection-start-column="51" selection-end-line="25" selection-end-column="51" />
<state relative-caret-position="119">
<caret line="13" column="0" lean-forward="false" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
<folding>
<element signature="e#97#108#0" expanded="true" />
</folding>
......@@ -1418,8 +1432,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/config/envcfg.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="253">
<caret line="26" column="0" lean-forward="false" selection-start-line="26" selection-start-column="0" selection-end-line="26" selection-end-column="0" />
<state relative-caret-position="-405">
<caret line="6" column="3" lean-forward="true" selection-start-line="6" selection-start-column="3" selection-end-line="6" selection-end-column="3" />
<folding />
</state>
</provider>
......
......@@ -14,10 +14,7 @@ import time
# 生产环境:
prod = {
"click": {
"url": "http://t.uri6.com/tkio/EFbIzya?noredirect=true",
"appkey": "9b17c1568c3ce34599c5fd2778483ff9"
},
"click": ["http://t.uri6.com/tkio/EFbIzya?noredirect=true", "9b17c1568c3ce34599c5fd2778483ff9"],
"events": {
"url": "http://tlog.trackingio.com/receive/tkio/",
# "url": "http://10.3.20.42:8080",
......
......@@ -61,14 +61,14 @@ for _ in range(1):
#timeout可以超时四秒
# verify = False
p = requests.get(url=prod['click']['url'], params=prod_params, timeout=30, verify=False)
p = requests.get(url=prod['click'][1], params=prod_params, timeout=30, verify=False)
print('success:', s)
# print(p.text)
print('imei:',randomUtil.r.randimei())
except requests.exceptions.RequestException:
print('wrong:',w)
print('wrong:', w)
print('imei:', randomUtil.r.randimei())
print('ip', randomUtil.r.randip())
w=w+1
......
......@@ -19,18 +19,11 @@ sys.path.append(base_path)
class clickTestCase(unittest.TestCase):
def click(self):
try:
p = requests.get(url=prod['click']['url'], params=params_click, timeout=30, verify=False)
# self.assertEqual(p.status_code, 200, msg='接口异常,请检查')
print(prod['click']['url'])
def testclick(self):
p = requests.get(url=prod['click'][1], params=params_click, timeout=30, verify=False)
self.assertEqual(p.status_code, 300, msg='接口异常,请检查')
print('执行结果:\n=================')
print(p)
print('imei:', randomUtil.r.randimei())
except requests.exceptions.RequestException:
print('imei:', randomUtil.r.randimei())
print('ip', randomUtil.r.randip())
# time.sleep(7)
# try:
# allEvent().installUpload(randomUtil.r.randimei(), randomUtil.r.randip(), prod['events']['appkey'], prod['cmpaignid'])
......
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