Commit 68c1c853 by jiaqiying

del login fixture

parent 8cb294fa
{"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
{"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
{"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
{"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
{"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
{"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
{"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
{"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
{"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
{"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
{"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
{"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
{"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
{"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
{"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
...@@ -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):
......
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