Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
InterfaceAutoTest
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TestAuto
InterfaceAutoTest
Commits
68c1c853
Commit
68c1c853
authored
May 07, 2021
by
jiaqiying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
del login fixture
parent
8cb294fa
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
30 additions
and
1 deletions
+30
-1
report/tmp/10b58f87-176d-41b3-9fc0-f7a3e3c5808e-result.json
+2
-0
report/tmp/1b1661c6-6cdf-4a64-bf59-77dc56d1e954-result.json
+2
-0
report/tmp/1ed11ab3-bc68-41c2-aff2-56b053cedcd8-container.json
+2
-0
report/tmp/238b0899-50b0-4968-b15d-82533a0dbc75-container.json
+2
-0
report/tmp/25982762-0acd-4952-920b-e953d5ae8cca-container.json
+2
-0
report/tmp/2c0888ea-a816-4cf2-92f9-3dc542f5eb55-container.json
+2
-0
report/tmp/4e112c98-efe1-4d7b-b767-2282d2409c80-container.json
+2
-0
report/tmp/7882fc77-bdd3-48ab-b802-68c68e3cb45d-result.json
+2
-0
report/tmp/96125432-f78c-46a2-ad5b-1bc2c25029c0-container.json
+2
-0
report/tmp/96fbc6a9-08d6-4fa5-93f1-9113973dc233-result.json
+2
-0
report/tmp/9e258e62-4afd-4d90-b50d-afeb944cbc3d-container.json
+2
-0
report/tmp/b3f3858c-d380-4d64-acb0-222fc715d7c9-container.json
+2
-0
report/tmp/d9835cce-e923-4986-bdab-502bb0d241ac-container.json
+2
-0
report/tmp/f7acfad9-594c-41a2-901e-188d12fedc33-result.json
+2
-0
report/tmp/fd20cc6a-3816-40a2-91ba-c4b1b009a89a-container.json
+2
-0
service/login.py
+0
-1
No files found.
report/tmp/10b58f87-176d-41b3-9fc0-f7a3e3c5808e-result.json
0 → 100644
View file @
68c1c853
{
"name"
:
"登录认证"
,
"status"
:
"passed"
,
"description"
:
"url:/auth/login 。。。。"
,
"parameters"
:
[{
"name"
:
"inData"
,
"value"
:
"{'url': '/auth/login', 'headers': {'Authorization': '', 'Content-Type': 'application/x-www-form-urlencoded'}, 'method': 'POST', 'reqData': {'username': '15150000000', 'password': ''}, 'expectData': {'success': False, 'code': '500', 'message': '用户名或者密码输入错误'}}"
}],
"start"
:
1620440471639
,
"stop"
:
1620440472027
,
"uuid"
:
"4763b2d0-baf8-46e4-b9f9-a02c1d9d4995"
,
"historyId"
:
"8777fe7e2e8f6f4777453fed833c6d7e"
,
"testCaseId"
:
"71872482b1d2eb2e3e0a870a3b3f3bd4"
,
"fullName"
:
"test_case.bmy.test_login.TestLogin#test_login"
,
"labels"
:
[{
"name"
:
"story"
,
"value"
:
"登录"
},
{
"name"
:
"epic"
,
"value"
:
"营运车企业端"
},
{
"name"
:
"feature"
,
"value"
:
"登录模块"
},
{
"name"
:
"parentSuite"
,
"value"
:
"test_case.bmy"
},
{
"name"
:
"suite"
,
"value"
:
"test_login"
},
{
"name"
:
"subSuite"
,
"value"
:
"TestLogin"
},
{
"name"
:
"host"
,
"value"
:
"ubuntu"
},
{
"name"
:
"thread"
,
"value"
:
"19412-MainThread"
},
{
"name"
:
"framework"
,
"value"
:
"pytest"
},
{
"name"
:
"language"
,
"value"
:
"cpython3"
},
{
"name"
:
"package"
,
"value"
:
"test_case.bmy.test_login"
}],
"links"
:
[{
"type"
:
"test_case"
,
"url"
:
"http://yapi.hikcreate.com/"
,
"name"
:
"http://yapi.hikcreate.com/"
}]}
\ No newline at end of file
report/tmp/1b1661c6-6cdf-4a64-bf59-77dc56d1e954-result.json
0 → 100644
View file @
68c1c853
{
"name"
:
"登录认证"
,
"status"
:
"passed"
,
"description"
:
"url:/auth/login 。。。。"
,
"parameters"
:
[{
"name"
:
"inData"
,
"value"
:
"{'url': '/auth/login', 'headers': {'Authorization': '', 'Content-Type': 'application/x-www-form-urlencoded'}, 'method': 'POST', 'reqData': {'username': '15150000000', 'password': '123456'}, 'expectData': {'success': False, 'code': '500', 'message': '用户名或者密码输入错误'}}"
}],
"start"
:
1620440470938
,
"stop"
:
1620440471256
,
"uuid"
:
"fc7b9797-e9ab-47db-bd92-52c6e86b36cc"
,
"historyId"
:
"5ffeade0af986262f17cfc7ac33f2ecf"
,
"testCaseId"
:
"71872482b1d2eb2e3e0a870a3b3f3bd4"
,
"fullName"
:
"test_case.bmy.test_login.TestLogin#test_login"
,
"labels"
:
[{
"name"
:
"story"
,
"value"
:
"登录"
},
{
"name"
:
"epic"
,
"value"
:
"营运车企业端"
},
{
"name"
:
"feature"
,
"value"
:
"登录模块"
},
{
"name"
:
"parentSuite"
,
"value"
:
"test_case.bmy"
},
{
"name"
:
"suite"
,
"value"
:
"test_login"
},
{
"name"
:
"subSuite"
,
"value"
:
"TestLogin"
},
{
"name"
:
"host"
,
"value"
:
"ubuntu"
},
{
"name"
:
"thread"
,
"value"
:
"19412-MainThread"
},
{
"name"
:
"framework"
,
"value"
:
"pytest"
},
{
"name"
:
"language"
,
"value"
:
"cpython3"
},
{
"name"
:
"package"
,
"value"
:
"test_case.bmy.test_login"
}],
"links"
:
[{
"type"
:
"test_case"
,
"url"
:
"http://yapi.hikcreate.com/"
,
"name"
:
"http://yapi.hikcreate.com/"
}]}
\ No newline at end of file
report/tmp/1ed11ab3-bc68-41c2-aff2-56b053cedcd8-container.json
0 → 100644
View file @
68c1c853
{
"uuid"
:
"a8ee9f0e-83da-4067-b22d-6ec3f1d71a84"
,
"children"
:
[
"fc7b9797-e9ab-47db-bd92-52c6e86b36cc"
],
"befores"
:
[{
"name"
:
"sleep"
,
"status"
:
"passed"
,
"start"
:
1620440470828
,
"stop"
:
1620440470938
}],
"start"
:
1620440470828
,
"stop"
:
1620440471256
}
\ No newline at end of file
report/tmp/238b0899-50b0-4968-b15d-82533a0dbc75-container.json
0 → 100644
View file @
68c1c853
{
"uuid"
:
"ca67a189-6dbc-4131-96e2-0687a54cd94f"
,
"children"
:
[
"563c5ee7-5738-4926-b04a-231790247048"
],
"befores"
:
[{
"name"
:
"sleep"
,
"status"
:
"passed"
,
"start"
:
1620440472029
,
"stop"
:
1620440472131
}],
"start"
:
1620440472029
,
"stop"
:
1620440472285
}
\ No newline at end of file
report/tmp/25982762-0acd-4952-920b-e953d5ae8cca-container.json
0 → 100644
View file @
68c1c853
{
"uuid"
:
"83d09b31-8977-4b54-b377-9cd46209ec3c"
,
"befores"
:
[{
"name"
:
"inData"
,
"status"
:
"passed"
,
"start"
:
1620440472131
,
"stop"
:
1620440472132
}],
"start"
:
1620440472131
,
"stop"
:
1620440472285
}
\ No newline at end of file
report/tmp/2c0888ea-a816-4cf2-92f9-3dc542f5eb55-container.json
0 → 100644
View file @
68c1c853
{
"uuid"
:
"c358eab2-ba08-46ae-b642-45cb3487e8da"
,
"befores"
:
[{
"name"
:
"inData"
,
"status"
:
"passed"
,
"start"
:
1620440470938
,
"stop"
:
1620440470938
}],
"start"
:
1620440470938
,
"stop"
:
1620440471256
}
\ No newline at end of file
report/tmp/4e112c98-efe1-4d7b-b767-2282d2409c80-container.json
0 → 100644
View file @
68c1c853
{
"uuid"
:
"c81bfd10-a6e3-4803-ab3b-9631fac85955"
,
"befores"
:
[{
"name"
:
"inData"
,
"status"
:
"passed"
,
"start"
:
1620440471359
,
"stop"
:
1620440471359
}],
"start"
:
1620440471359
,
"stop"
:
1620440471533
}
\ No newline at end of file
report/tmp/7882fc77-bdd3-48ab-b802-68c68e3cb45d-result.json
0 → 100644
View file @
68c1c853
{
"name"
:
"登录认证"
,
"status"
:
"passed"
,
"description"
:
"url:/auth/login 。。。。"
,
"parameters"
:
[{
"name"
:
"inData"
,
"value"
:
"{'url': '/auth/login', 'headers': {'Authorization': '', 'Content-Type': 'application/x-www-form-urlencoded'}, 'method': 'POST', 'reqData': {'username': '1515taoke', 'password': 'A123456'}, 'expectData': {'success': False, 'code': '10002', 'message': '验证码错误'}}"
}],
"start"
:
1620440472132
,
"stop"
:
1620440472284
,
"uuid"
:
"563c5ee7-5738-4926-b04a-231790247048"
,
"historyId"
:
"5dd9539dd42cecf33b13556e90f95397"
,
"testCaseId"
:
"71872482b1d2eb2e3e0a870a3b3f3bd4"
,
"fullName"
:
"test_case.bmy.test_login.TestLogin#test_login"
,
"labels"
:
[{
"name"
:
"story"
,
"value"
:
"登录"
},
{
"name"
:
"epic"
,
"value"
:
"营运车企业端"
},
{
"name"
:
"feature"
,
"value"
:
"登录模块"
},
{
"name"
:
"parentSuite"
,
"value"
:
"test_case.bmy"
},
{
"name"
:
"suite"
,
"value"
:
"test_login"
},
{
"name"
:
"subSuite"
,
"value"
:
"TestLogin"
},
{
"name"
:
"host"
,
"value"
:
"ubuntu"
},
{
"name"
:
"thread"
,
"value"
:
"19412-MainThread"
},
{
"name"
:
"framework"
,
"value"
:
"pytest"
},
{
"name"
:
"language"
,
"value"
:
"cpython3"
},
{
"name"
:
"package"
,
"value"
:
"test_case.bmy.test_login"
}],
"links"
:
[{
"type"
:
"test_case"
,
"url"
:
"http://yapi.hikcreate.com/"
,
"name"
:
"http://yapi.hikcreate.com/"
}]}
\ No newline at end of file
report/tmp/96125432-f78c-46a2-ad5b-1bc2c25029c0-container.json
0 → 100644
View file @
68c1c853
{
"uuid"
:
"85292679-d824-4924-bb02-cc416ce2b6f5"
,
"befores"
:
[{
"name"
:
"inData"
,
"status"
:
"passed"
,
"start"
:
1620440471638
,
"stop"
:
1620440471638
}],
"start"
:
1620440471638
,
"stop"
:
1620440472027
}
\ No newline at end of file
report/tmp/96fbc6a9-08d6-4fa5-93f1-9113973dc233-result.json
0 → 100644
View file @
68c1c853
{
"name"
:
"登录认证"
,
"status"
:
"passed"
,
"description"
:
"url:/auth/login 。。。。"
,
"parameters"
:
[{
"name"
:
"inData"
,
"value"
:
"{'url': '/auth/login', 'headers': {'Authorization': '', 'Content-Type': 'application/x-www-form-urlencoded'}, 'method': 'POST', 'reqData': {'username': '15150000000', 'password': 'A123456'}, 'expectData': {'success': True, 'code': '200', 'message': None}}"
}],
"start"
:
1620440470415
,
"stop"
:
1620440470826
,
"uuid"
:
"35c84d78-59a2-4b30-a9ce-7a4dde440de7"
,
"historyId"
:
"53b32735611d2d17c30dd543b5595680"
,
"testCaseId"
:
"71872482b1d2eb2e3e0a870a3b3f3bd4"
,
"fullName"
:
"test_case.bmy.test_login.TestLogin#test_login"
,
"labels"
:
[{
"name"
:
"story"
,
"value"
:
"登录"
},
{
"name"
:
"epic"
,
"value"
:
"营运车企业端"
},
{
"name"
:
"feature"
,
"value"
:
"登录模块"
},
{
"name"
:
"parentSuite"
,
"value"
:
"test_case.bmy"
},
{
"name"
:
"suite"
,
"value"
:
"test_login"
},
{
"name"
:
"subSuite"
,
"value"
:
"TestLogin"
},
{
"name"
:
"host"
,
"value"
:
"ubuntu"
},
{
"name"
:
"thread"
,
"value"
:
"19412-MainThread"
},
{
"name"
:
"framework"
,
"value"
:
"pytest"
},
{
"name"
:
"language"
,
"value"
:
"cpython3"
},
{
"name"
:
"package"
,
"value"
:
"test_case.bmy.test_login"
}],
"links"
:
[{
"type"
:
"test_case"
,
"url"
:
"http://yapi.hikcreate.com/"
,
"name"
:
"http://yapi.hikcreate.com/"
}]}
\ No newline at end of file
report/tmp/9e258e62-4afd-4d90-b50d-afeb944cbc3d-container.json
0 → 100644
View file @
68c1c853
{
"uuid"
:
"99860052-d7d1-4850-8935-233854f005df"
,
"children"
:
[
"35c84d78-59a2-4b30-a9ce-7a4dde440de7"
],
"befores"
:
[{
"name"
:
"sleep"
,
"status"
:
"passed"
,
"start"
:
1620440470301
,
"stop"
:
1620440470402
}],
"start"
:
1620440470301
,
"stop"
:
1620440470827
}
\ No newline at end of file
report/tmp/b3f3858c-d380-4d64-acb0-222fc715d7c9-container.json
0 → 100644
View file @
68c1c853
{
"uuid"
:
"cde0f5ad-b912-485d-8bd4-17fbb34fe1b5"
,
"children"
:
[
"1b838a74-a733-4395-9025-cbb0c41407dc"
],
"befores"
:
[{
"name"
:
"sleep"
,
"status"
:
"passed"
,
"start"
:
1620440471257
,
"stop"
:
1620440471359
}],
"start"
:
1620440471257
,
"stop"
:
1620440471534
}
\ No newline at end of file
report/tmp/d9835cce-e923-4986-bdab-502bb0d241ac-container.json
0 → 100644
View file @
68c1c853
{
"uuid"
:
"a2250202-7b2a-472a-9e59-1a59801482ef"
,
"befores"
:
[{
"name"
:
"inData"
,
"status"
:
"passed"
,
"start"
:
1620440470402
,
"stop"
:
1620440470402
}],
"start"
:
1620440470402
,
"stop"
:
1620440470827
}
\ No newline at end of file
report/tmp/f7acfad9-594c-41a2-901e-188d12fedc33-result.json
0 → 100644
View file @
68c1c853
{
"name"
:
"登录认证"
,
"status"
:
"passed"
,
"description"
:
"url:/auth/login 。。。。"
,
"parameters"
:
[{
"name"
:
"inData"
,
"value"
:
"{'url': '/auth/login', 'headers': {'Authorization': '', 'Content-Type': 'application/x-www-form-urlencoded'}, 'method': 'POST', 'reqData': {'username': '', 'password': 'A123456'}, 'expectData': {'success': False, 'code': '10002', 'message': '验证码错误'}}"
}],
"start"
:
1620440471359
,
"stop"
:
1620440471533
,
"uuid"
:
"1b838a74-a733-4395-9025-cbb0c41407dc"
,
"historyId"
:
"af38117c4c0e6ef678fbbbd151a19419"
,
"testCaseId"
:
"71872482b1d2eb2e3e0a870a3b3f3bd4"
,
"fullName"
:
"test_case.bmy.test_login.TestLogin#test_login"
,
"labels"
:
[{
"name"
:
"story"
,
"value"
:
"登录"
},
{
"name"
:
"epic"
,
"value"
:
"营运车企业端"
},
{
"name"
:
"feature"
,
"value"
:
"登录模块"
},
{
"name"
:
"parentSuite"
,
"value"
:
"test_case.bmy"
},
{
"name"
:
"suite"
,
"value"
:
"test_login"
},
{
"name"
:
"subSuite"
,
"value"
:
"TestLogin"
},
{
"name"
:
"host"
,
"value"
:
"ubuntu"
},
{
"name"
:
"thread"
,
"value"
:
"19412-MainThread"
},
{
"name"
:
"framework"
,
"value"
:
"pytest"
},
{
"name"
:
"language"
,
"value"
:
"cpython3"
},
{
"name"
:
"package"
,
"value"
:
"test_case.bmy.test_login"
}],
"links"
:
[{
"type"
:
"test_case"
,
"url"
:
"http://yapi.hikcreate.com/"
,
"name"
:
"http://yapi.hikcreate.com/"
}]}
\ No newline at end of file
report/tmp/fd20cc6a-3816-40a2-91ba-c4b1b009a89a-container.json
0 → 100644
View file @
68c1c853
{
"uuid"
:
"9d87b320-658e-4643-9f7e-25da2921217a"
,
"children"
:
[
"4763b2d0-baf8-46e4-b9f9-a02c1d9d4995"
],
"befores"
:
[{
"name"
:
"sleep"
,
"status"
:
"passed"
,
"start"
:
1620440471535
,
"stop"
:
1620440471637
}],
"start"
:
1620440471535
,
"stop"
:
1620440472028
}
\ No newline at end of file
service/login.py
View file @
68c1c853
...
@@ -9,7 +9,6 @@ from common.db import RedisString
...
@@ -9,7 +9,6 @@ from common.db import RedisString
from
config
import
BmyConfig
from
config
import
BmyConfig
@pytest.fixture
(
scope
=
'session'
)
class
SSOLogin
():
class
SSOLogin
():
"""SSO登录"""
"""SSO登录"""
def
_sso_pwd_encrypted
(
self
,
org_pwd
):
def
_sso_pwd_encrypted
(
self
,
org_pwd
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment