WebsocketTest 1.0.8__tar.gz → 1.0.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- websockettest-1.0.10/MANIFEST.in +1 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/PKG-INFO +1 -5
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest.egg-info/PKG-INFO +1 -5
- websockettest-1.0.10/WebsocketTest.egg-info/SOURCES.txt +92 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/setup.py +13 -7
- websockettest-1.0.10/templates/basic/config/svw/aqua/uat.yml +11 -0
- websockettest-1.0.10/templates/basic/config/svw/gateway_5.0/live.yml +8 -0
- websockettest-1.0.10/templates/basic/config/svw/gateway_5.0/uat.yml +8 -0
- websockettest-1.0.10/templates/basic/config/svw/live.yml +2 -0
- websockettest-1.0.10/templates/basic/config/svw/uat.yml +2 -0
- websockettest-1.0.10/templates/basic/config/vwa/aqua/live.yml +11 -0
- websockettest-1.0.10/templates/basic/config/vwa/aqua/uat.yml +12 -0
- websockettest-1.0.10/templates/basic/config/vwa/gateway_5.0/live.yml +6 -0
- websockettest-1.0.10/templates/basic/config/vwa/gateway_5.0/uat.yml +6 -0
- websockettest-1.0.10/templates/basic/config/vwa/gateway_5.4/live.yml +8 -0
- websockettest-1.0.10/templates/basic/config/vwa/gateway_5.4/uat.yml +8 -0
- websockettest-1.0.10/templates/basic/config/vwa/live.yml +2 -0
- websockettest-1.0.10/templates/basic/config/vwa/uat.yml +2 -0
- websockettest-1.0.10/templates/basic/conftest.py +63 -0
- websockettest-1.0.10/templates/basic/data/audio/1+1/347/255/211/344/272/216/345/207/240.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio/Navigation nearby hotels.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio/Play Billy Jane.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio/Play some Himalaya broadcasts, please.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio/What is the weather in Changsha.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio/beierjiaoche.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio/damaibao.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio/dazhongyuzhong.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio/jiatinghui.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio/long_audio.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio/mlshao.opus +0 -0
- websockettest-1.0.10/templates/basic/data/audio/open ac.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio/sichuan.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio/test.ico +0 -0
- websockettest-1.0.10/templates/basic/data/audio/test.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio/xianyanbao.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio/yingyu.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio/yueyu.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio/zhangsan.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio/zhongbo.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio//344/271/214/351/276/237/347/201/257/344/273/200/344/271/210/346/204/217/346/200/235.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio//344/273/213/347/273/215/344/270/200/344/270/213/347/247/221/345/244/247/350/256/257/351/243/236.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio//344/275/240/345/205/210/345/274/200/345/247/213.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio//345/220/210/350/202/245/344/273/212/345/244/251/347/232/204/345/244/251/346/260/224/346/200/216/344/271/210/346/240/267.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio//345/244/247/346/235/250/345/223/245/345/234/250/345/220/210/350/202/245/345/274/200/346/274/224/345/224/261/344/274/232/346/230/257/345/223/252/345/244/251.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio//345/244/251/347/214/253/347/262/276/347/201/265/350/257/227/346/255/214/346/234/227/350/257/265/345/260/206/350/277/233/351/205/222(speex_size=70).speex-wb +0 -0
- websockettest-1.0.10/templates/basic/data/audio//345/270/256/346/210/221/346/211/276/344/270/200/344/270/252/350/265/214/345/215/232/347/232/204/345/234/260/346/226/271.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio//346/210/221/346/203/263/345/220/254/351/203/255/345/276/267/347/272/262/347/232/204/347/233/270/345/243/260.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio//346/210/221/350/246/201/347/216/251/346/210/220/350/257/255/346/216/245/351/276/231.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio//346/211/223/345/274/200/350/275/246/347/252/227/345/210/260/344/270/200/345/215/212.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio//346/211/223/345/274/200/350/275/246/347/252/227/345/221/242/347/204/266/345/220/216/345/206/215/346/211/223/345/274/200/347/251/272/350/260/203.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio//346/222/255/346/224/276/345/221/250/346/235/260/344/274/246/347/232/204/351/235/222/350/212/261/347/223/267.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio//346/263/225/350/275/256/345/212/237.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio//347/233/256/347/232/204/345/234/260/347/232/204/345/244/251/346/260/224.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio//347/247/221/345/244/247/350/256/257/351/243/236/351/231/204/350/277/221/347/232/204/347/276/216/351/243/237.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio//347/272/242/347/203/247/350/202/211/346/200/216/344/271/210/345/201/232.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio//350/256/262/344/270/252/347/254/221/350/257/235.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/audio//351/200/200/345/207/272/346/210/220/350/257/255/346/216/245/351/276/231.pcm +0 -0
- websockettest-1.0.10/templates/basic/data/case_data.xlsx +0 -0
- websockettest-1.0.10/templates/basic/pytest.ini +26 -0
- websockettest-1.0.10/templates/basic/testcase/__init__.py +0 -0
- websockettest-1.0.10/templates/basic/testcase/__pycache__/__init__.cpython-310.pyc +0 -0
- websockettest-1.0.10/templates/basic/testcase/__pycache__/gateway.cpython-310.pyc +0 -0
- websockettest-1.0.10/templates/basic/testcase/__pycache__/test.cpython-310-pytest-8.2.2.pyc +0 -0
- websockettest-1.0.10/templates/basic/testcase/__pycache__/test_all.cpython-310-pytest-8.2.2.pyc +0 -0
- websockettest-1.0.10/templates/basic/testcase/__pycache__/test_aqua.cpython-310-pytest-8.2.2.pyc +0 -0
- websockettest-1.0.10/templates/basic/testcase/__pycache__/test_gateway copy.cpython-310-pytest-8.2.2.pyc +0 -0
- websockettest-1.0.10/templates/basic/testcase/__pycache__/test_gateway.cpython-310-pytest-8.2.2.pyc +0 -0
- websockettest-1.0.10/templates/basic/testcase/__pycache__/test_gateway1.cpython-310-pytest-8.2.2.pyc +0 -0
- websockettest-1.0.10/templates/basic/testcase/__pycache__/test_gatewaybak.cpython-310-pytest-8.2.2.pyc +0 -0
- websockettest-1.0.10/templates/basic/testcase/__pycache__/test_limin.cpython-310-pytest-8.2.2.pyc +0 -0
- websockettest-1.0.10/templates/basic/testcase/test_all.py +10 -0
- websockettest-1.0.8/WebsocketTest.egg-info/SOURCES.txt +0 -25
- {websockettest-1.0.8 → websockettest-1.0.10}/README.md +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest/__init__.py +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest/caseScript/Aqua.py +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest/caseScript/Gateway.py +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest/caseScript/__init__.py +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest/cli.py +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest/commands/__init__.py +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest/commands/startproject.py +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest/commands/test.py +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest/common/Assertion.py +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest/common/WSBaseApi.py +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest/common/__init__.py +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest/common/assertUtils.py +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest/common/logger.py +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest/common/utils.py +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest/conftest.py +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest/run_tests.py +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest.egg-info/dependency_links.txt +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest.egg-info/entry_points.txt +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest.egg-info/requires.txt +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/WebsocketTest.egg-info/top_level.txt +0 -0
- {websockettest-1.0.8 → websockettest-1.0.10}/setup.cfg +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
recursive-include templates *
|
@@ -1,16 +1,12 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: WebsocketTest
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.10
|
4
4
|
Summary: websocket api autotest
|
5
|
-
Author: chencheng
|
6
|
-
Requires-Python: >=3.10
|
7
5
|
Requires-Dist: allure_python_commons==2.13.5
|
8
6
|
Requires-Dist: numpy==2.2.4
|
9
7
|
Requires-Dist: pandas==2.2.3
|
10
8
|
Requires-Dist: pytest==8.2.2
|
11
9
|
Requires-Dist: PyYAML==6.0.2
|
12
10
|
Requires-Dist: websockets==12.0
|
13
|
-
Dynamic: author
|
14
11
|
Dynamic: requires-dist
|
15
|
-
Dynamic: requires-python
|
16
12
|
Dynamic: summary
|
@@ -1,16 +1,12 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: WebsocketTest
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.10
|
4
4
|
Summary: websocket api autotest
|
5
|
-
Author: chencheng
|
6
|
-
Requires-Python: >=3.10
|
7
5
|
Requires-Dist: allure_python_commons==2.13.5
|
8
6
|
Requires-Dist: numpy==2.2.4
|
9
7
|
Requires-Dist: pandas==2.2.3
|
10
8
|
Requires-Dist: pytest==8.2.2
|
11
9
|
Requires-Dist: PyYAML==6.0.2
|
12
10
|
Requires-Dist: websockets==12.0
|
13
|
-
Dynamic: author
|
14
11
|
Dynamic: requires-dist
|
15
|
-
Dynamic: requires-python
|
16
12
|
Dynamic: summary
|
@@ -0,0 +1,92 @@
|
|
1
|
+
MANIFEST.in
|
2
|
+
README.md
|
3
|
+
setup.cfg
|
4
|
+
setup.py
|
5
|
+
WebsocketTest/__init__.py
|
6
|
+
WebsocketTest/cli.py
|
7
|
+
WebsocketTest/conftest.py
|
8
|
+
WebsocketTest/run_tests.py
|
9
|
+
WebsocketTest.egg-info/PKG-INFO
|
10
|
+
WebsocketTest.egg-info/SOURCES.txt
|
11
|
+
WebsocketTest.egg-info/dependency_links.txt
|
12
|
+
WebsocketTest.egg-info/entry_points.txt
|
13
|
+
WebsocketTest.egg-info/requires.txt
|
14
|
+
WebsocketTest.egg-info/top_level.txt
|
15
|
+
WebsocketTest/caseScript/Aqua.py
|
16
|
+
WebsocketTest/caseScript/Gateway.py
|
17
|
+
WebsocketTest/caseScript/__init__.py
|
18
|
+
WebsocketTest/commands/__init__.py
|
19
|
+
WebsocketTest/commands/startproject.py
|
20
|
+
WebsocketTest/commands/test.py
|
21
|
+
WebsocketTest/common/Assertion.py
|
22
|
+
WebsocketTest/common/WSBaseApi.py
|
23
|
+
WebsocketTest/common/__init__.py
|
24
|
+
WebsocketTest/common/assertUtils.py
|
25
|
+
WebsocketTest/common/logger.py
|
26
|
+
WebsocketTest/common/utils.py
|
27
|
+
templates/basic/conftest.py
|
28
|
+
templates/basic/pytest.ini
|
29
|
+
templates/basic/config/svw/live.yml
|
30
|
+
templates/basic/config/svw/uat.yml
|
31
|
+
templates/basic/config/svw/aqua/uat.yml
|
32
|
+
templates/basic/config/svw/gateway_5.0/live.yml
|
33
|
+
templates/basic/config/svw/gateway_5.0/uat.yml
|
34
|
+
templates/basic/config/vwa/live.yml
|
35
|
+
templates/basic/config/vwa/uat.yml
|
36
|
+
templates/basic/config/vwa/aqua/live.yml
|
37
|
+
templates/basic/config/vwa/aqua/uat.yml
|
38
|
+
templates/basic/config/vwa/gateway_5.0/live.yml
|
39
|
+
templates/basic/config/vwa/gateway_5.0/uat.yml
|
40
|
+
templates/basic/config/vwa/gateway_5.4/live.yml
|
41
|
+
templates/basic/config/vwa/gateway_5.4/uat.yml
|
42
|
+
templates/basic/data/case_data.xlsx
|
43
|
+
templates/basic/data/audio/1+1等于几.pcm
|
44
|
+
templates/basic/data/audio/Navigation nearby hotels.pcm
|
45
|
+
templates/basic/data/audio/Play Billy Jane.pcm
|
46
|
+
templates/basic/data/audio/Play some Himalaya broadcasts, please.pcm
|
47
|
+
templates/basic/data/audio/What is the weather in Changsha.pcm
|
48
|
+
templates/basic/data/audio/beierjiaoche.pcm
|
49
|
+
templates/basic/data/audio/damaibao.pcm
|
50
|
+
templates/basic/data/audio/dazhongyuzhong.pcm
|
51
|
+
templates/basic/data/audio/jiatinghui.pcm
|
52
|
+
templates/basic/data/audio/long_audio.pcm
|
53
|
+
templates/basic/data/audio/mlshao.opus
|
54
|
+
templates/basic/data/audio/open ac.pcm
|
55
|
+
templates/basic/data/audio/sichuan.pcm
|
56
|
+
templates/basic/data/audio/test.ico
|
57
|
+
templates/basic/data/audio/test.pcm
|
58
|
+
templates/basic/data/audio/xianyanbao.pcm
|
59
|
+
templates/basic/data/audio/yingyu.pcm
|
60
|
+
templates/basic/data/audio/yueyu.pcm
|
61
|
+
templates/basic/data/audio/zhangsan.pcm
|
62
|
+
templates/basic/data/audio/zhongbo.pcm
|
63
|
+
templates/basic/data/audio/乌龟灯什么意思.pcm
|
64
|
+
templates/basic/data/audio/介绍一下科大讯飞.pcm
|
65
|
+
templates/basic/data/audio/你先开始.pcm
|
66
|
+
templates/basic/data/audio/合肥今天的天气怎么样.pcm
|
67
|
+
templates/basic/data/audio/大杨哥在合肥开演唱会是哪天.pcm
|
68
|
+
templates/basic/data/audio/天猫精灵诗歌朗诵将进酒(speex_size=70).speex-wb
|
69
|
+
templates/basic/data/audio/帮我找一个赌博的地方.pcm
|
70
|
+
templates/basic/data/audio/我想听郭德纲的相声.pcm
|
71
|
+
templates/basic/data/audio/我要玩成语接龙.pcm
|
72
|
+
templates/basic/data/audio/打开车窗到一半.pcm
|
73
|
+
templates/basic/data/audio/打开车窗呢然后再打开空调.pcm
|
74
|
+
templates/basic/data/audio/播放周杰伦的青花瓷.pcm
|
75
|
+
templates/basic/data/audio/法轮功.pcm
|
76
|
+
templates/basic/data/audio/目的地的天气.pcm
|
77
|
+
templates/basic/data/audio/科大讯飞附近的美食.pcm
|
78
|
+
templates/basic/data/audio/红烧肉怎么做.pcm
|
79
|
+
templates/basic/data/audio/讲个笑话.pcm
|
80
|
+
templates/basic/data/audio/退出成语接龙.pcm
|
81
|
+
templates/basic/testcase/__init__.py
|
82
|
+
templates/basic/testcase/test_all.py
|
83
|
+
templates/basic/testcase/__pycache__/__init__.cpython-310.pyc
|
84
|
+
templates/basic/testcase/__pycache__/gateway.cpython-310.pyc
|
85
|
+
templates/basic/testcase/__pycache__/test.cpython-310-pytest-8.2.2.pyc
|
86
|
+
templates/basic/testcase/__pycache__/test_all.cpython-310-pytest-8.2.2.pyc
|
87
|
+
templates/basic/testcase/__pycache__/test_aqua.cpython-310-pytest-8.2.2.pyc
|
88
|
+
templates/basic/testcase/__pycache__/test_gateway copy.cpython-310-pytest-8.2.2.pyc
|
89
|
+
templates/basic/testcase/__pycache__/test_gateway.cpython-310-pytest-8.2.2.pyc
|
90
|
+
templates/basic/testcase/__pycache__/test_gateway1.cpython-310-pytest-8.2.2.pyc
|
91
|
+
templates/basic/testcase/__pycache__/test_gatewaybak.cpython-310-pytest-8.2.2.pyc
|
92
|
+
templates/basic/testcase/__pycache__/test_limin.cpython-310-pytest-8.2.2.pyc
|
@@ -5,12 +5,12 @@ from setuptools.command.bdist_wheel import bdist_wheel
|
|
5
5
|
class CustomSdist(sdist):
|
6
6
|
def initialize_options(self):
|
7
7
|
super().initialize_options()
|
8
|
-
self.dist_dir = "setup_temp/dist"
|
8
|
+
self.dist_dir = "setup_temp/dist"
|
9
9
|
|
10
10
|
class CustomBdistWheel(bdist_wheel):
|
11
11
|
def initialize_options(self):
|
12
12
|
super().initialize_options()
|
13
|
-
self.dist_dir = "setup_temp/dist"
|
13
|
+
self.dist_dir = "setup_temp/dist"
|
14
14
|
|
15
15
|
setup(
|
16
16
|
cmdclass={
|
@@ -18,10 +18,16 @@ setup(
|
|
18
18
|
'bdist_wheel': CustomBdistWheel
|
19
19
|
},
|
20
20
|
name="WebsocketTest",
|
21
|
-
version="1.0.
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
version="1.0.10",
|
22
|
+
packages=find_packages(exclude=[
|
23
|
+
"WebsocketTest.allure_report",
|
24
|
+
"WebsocketTest.logs",
|
25
|
+
"WebsocketTest.allure_results",
|
26
|
+
"WebsocketTest.config",
|
27
|
+
"WebsocketTest.data",
|
28
|
+
"WebsocketTest.testcase"
|
29
|
+
]),
|
30
|
+
include_package_data=True, # 这行很重要,会读取MANIFEST.in
|
25
31
|
description="websocket api autotest",
|
26
32
|
install_requires = [
|
27
33
|
"allure_python_commons==2.13.5",
|
@@ -39,5 +45,5 @@ setup(
|
|
39
45
|
)
|
40
46
|
# import shutil
|
41
47
|
|
42
|
-
# # 清理 .egg-info 文件夹
|
48
|
+
# # # 清理 .egg-info 文件夹
|
43
49
|
# shutil.rmtree('WebsocketTest.egg-info', ignore_errors=True)
|
@@ -0,0 +1,11 @@
|
|
1
|
+
environments:
|
2
|
+
name: aodi
|
3
|
+
url: ws://172.20.102.46:11080/service-aisp-aiui/websocket/stream
|
4
|
+
deviceId: LG8-LGA28.04.2320010617
|
5
|
+
userId: 0ff85293-facd-4802-927e-ca7986db9a81
|
6
|
+
asp_did: LG8-LGA28.04.2320010617
|
7
|
+
vin: LAVTDMERZAA000242
|
8
|
+
aid: VW_HU_ICAS3_LG8-LGA28.04.2320010617_v2.0.1_v0.0.1
|
9
|
+
car_identity: MP24
|
10
|
+
did: LG8-LGA28.04.2320010617
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
environments:
|
2
|
+
# 9adbd42d-618f-4752-ad6d-9cb382079e25 0ff85293-facd-4802-927e-ca7986db9a81 cc7b9d7e 0f0826ab
|
3
|
+
name: live
|
4
|
+
url: wss://testing-hu-sds.sp.volkswagen-anhui.com/service-aisp-aiui/websocket
|
5
|
+
deviceId: LG8-LGA08.08.2320010215
|
6
|
+
userId: bee8643c-48e7-4e7f-8782-500f3f8d5d22
|
7
|
+
asp_did: LG8-LGA08.08.2320010215
|
8
|
+
vin: LAVB7ZER9P1200051
|
9
|
+
aid: VW_HU_ICAS3_LG8-LGA08.08.2320010215_v2.0.1_v0.0.1
|
10
|
+
car_identity: MP24
|
11
|
+
did: LG8-LGA08.08.2320010215
|
@@ -0,0 +1,12 @@
|
|
1
|
+
environments:
|
2
|
+
name: uat
|
3
|
+
url: wss://testing-hu-sds-uat.ci.volkswagen-anhui.com/service-aisp-aiui/websocket
|
4
|
+
deviceId: LG8-LGA28.04.2320010617
|
5
|
+
userId: 9adbd42d-618f-4752-ad6d-9cb382079e25
|
6
|
+
asp_did: LG8-LGA28.04.2320010617
|
7
|
+
vin: LAVTDMERZAA000242
|
8
|
+
aid: VW_HU_ICAS3_LG8-LGA28.04.2320010617_v2.0.1_v0.0.1
|
9
|
+
car_identity: MP24
|
10
|
+
did: LG8-LGA28.04.2320010617
|
11
|
+
|
12
|
+
# 9adbd42d-618f-4752-ad6d-9cb382079e25 0ff85293-facd-4802-927e-ca7986db9a81 cc7b9d7e 0f0826ab
|
@@ -0,0 +1,8 @@
|
|
1
|
+
environments:
|
2
|
+
url: wss://hu-sds.sp.volkswagen-anhui.com/mos/iflytek/spark/api/v2/autoCar
|
3
|
+
appId: 3d7d3ea4
|
4
|
+
apiKey: 1f6e7cac48be4529772346f445f324cf
|
5
|
+
apiSecret: NTQwNDFiNTIwNzA0OGMxNGFiZTExOTFm
|
6
|
+
userId: bee8643c-48e7-4e7f-8782-500f3f8d5d22
|
7
|
+
sparkEnv: live
|
8
|
+
scene: spark45
|
@@ -0,0 +1,8 @@
|
|
1
|
+
environments:
|
2
|
+
url: wss://hu-sds-uat.ci.volkswagen-anhui.com/mos/iflytek/spark/api/v2/autoCar
|
3
|
+
appId: 3d7d3ea4
|
4
|
+
apiKey: 1f6e7cac48be4529772346f445f324cf
|
5
|
+
apiSecret: NTQwNDFiNTIwNzA0OGMxNGFiZTExOTFm
|
6
|
+
userId: 00ad85da-e6cc-443c-9deb-53fd90efc4c5
|
7
|
+
sparkEnv: uat
|
8
|
+
scene: spark45
|
@@ -0,0 +1,2 @@
|
|
1
|
+
environments:
|
2
|
+
token: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjczY215NTU4NWM3NHRpd3EifQ.eyJzY3AiOlsic2RzIl0sInN1YiI6IjQyYTEzNGQwLWI4NWUtNDA2NS04NjQyLTM1Zjg0MjIwZjRkYSIsInZlciI6IjEuMCIsImRldmljZV9pZCI6Ijc2QjEzREU5NjZDOTczNjk0OUE1QTZCQjc0MjAzRjc4IiwiaXNzIjoicHJvdGVjdGVkLnNwLnZvbGtzd2FnZW4tYW5odWkuY29tIiwiY2NoIjoiSFUiLCJ0eXAiOiJBVCIsImRldmljZV90eXBlIjoiMSIsImlkdC1pZCI6IjY2ODcyODgwLTI0MWQtNGI0NC1iNjAzLTZiMDM2MGM1MjkyYSIsImNsaWVudF9pZCI6IjI1OTY3NDM4MTg4ODkxMzQwOCIsInJvbCI6IlBSSU1BUllfVVNFUiIsInN0eXAiOiJUMyIsImF1ZCI6ImF1dG9uYXZpLmNvbSIsInVpZCI6IjcyNjc0OTU4MTU3MjMzODUiLCJ2aW4iOiI3NkIxM0RFOTY2Qzk3MzY5NDlBNUE2QkI3NDIwM0Y3OCIsInRudCI6InZ3YSIsImV4cCI6MTc0NDg3ODkxMSwiaWF0IjoxNzQ0ODc1MzExLCJydC1pZCI6ImNkNWU0YTZiLTNkZTctNDkzOC05ZWI2LTM0YTNkN2U1ZTNlZCIsImp0aSI6IjQzNDM5OGRmLTM2NGUtNGE4NC1iMjBjLWM2ZDdiOTlmZGU4ZiJ9.Avvd6A3ts2ttjFe8AOMyeUb3NS2ySCdg9HT0NO-i3X08M9MR9qCtqOLZ0HM74KOYv5X39gvqxrUpCX1dWRzOnFUdHIT6nqWzPSn6RAm0C7cHs3AuliPI2Oo6uerzCx8T16D_Xw-482_Fxry3Wgd1IOZcl1ahBzP0W1d4nHhZmqVVP1_mDyXE3mItbKS-FqxoKfI0oFwMIYOCljrBG0-Kds5IpqlKcPbd1hTFVIMSkjHt-sTnsY2R4yPisfh-1sGltwKEB8YWDbmX5JwtvEeKltLyhV3Nt8JphIWIBIP7s5bWjd9M6gI75LpS2p88e094bioxDcGFdlJVHrvi0JEYjw
|
@@ -0,0 +1,2 @@
|
|
1
|
+
environments:
|
2
|
+
token: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjE2In0.eyJzY3AiOlsic2RzIl0sInN1YiI6IjlhZGJkNDJkLTYxOGYtNDc1Mi1hZDZkLTljYjM4MjA3OWUyNSIsInZlciI6IjEuMCIsImRldmljZV9pZCI6IjA1RjMwRTA4QjY1NjgxMUU4NTJBRTU3QjEzQTA2MDhCIiwiaXNzIjoibW9zLnZnYy5jb20iLCJjY2giOiJIVSIsInR5cCI6IkFUIiwiZGV2aWNlX3R5cGUiOiIxIiwiaWR0LWlkIjoiY2U1YjU2NjctNWQ3Yy00ZWFmLTk3ZTItNGZkZWFhZTlkZWU1IiwiY2xpZW50X2lkIjoiYWNjb3VudC10ZXN0Iiwicm9sIjoiUFJJTUFSWV9VU0VSIiwic3R5cCI6IlQzIiwiYXVkIjoiYXV0b25hdmkuY29tIiwidWlkIjoiNzA1OTk0NDM5NDI2NDM2NCIsInZpbiI6IjA1RjMwRTA4QjY1NjgxMUU4NTJBRTU3QjEzQTA2MDhCIiwidG50IjoidndhIiwiZXhwIjoxNzQ0Nzg1Mzk1LCJpYXQiOjE3NDQ3ODE3OTUsInJ0LWlkIjoiMGQ4MTRkNzItNjlhNS00OThiLWEzZjUtZmZkN2JhYjRiNmU2IiwianRpIjoiYTQ3MzA3N2ItMmZkOC00ZjA3LWE2OTUtYTEwMmY2YjJjNmUyIn0.b-glQvIxLFM10h5BLm5NczzwE5Dug7ppK3SpopLSo2O7qnzva9rSzMrTOcfHnJ_CjrgCF1Ts9ptkJHlKw4pSRIkwX3EsltPLlPSaWWO_JcFxJ60FsSmo_7R04gt14Wcmpa0ocGkpHwgZrcAw1lLtTQPouBuY4_TMAL6GddAOHRbvdYSDOZu1yeM1xOsJdeTmTblOviQgeg39ryMK62_rDqqnSbFinXxTiiZORlUrYsenXRBD2Yftu6HOahSu5JwfmrfgbbON2y05vFWA1TbSGRlZGpgbmflX96gLt1x-HYkusHgVxqY0DkfoO0s1hu8lAOxUF2jh_NBSVeDfPbpEJQ
|
@@ -0,0 +1,63 @@
|
|
1
|
+
import pytest
|
2
|
+
import yaml
|
3
|
+
from pathlib import Path
|
4
|
+
|
5
|
+
# 设置环境信息的 fixture
|
6
|
+
@pytest.fixture(scope="session")
|
7
|
+
def setup_env(request):
|
8
|
+
# 获取命令行参数
|
9
|
+
service = request.config.getoption("service")
|
10
|
+
project = request.config.getoption("project")
|
11
|
+
env = request.config.getoption("env")
|
12
|
+
app_id = request.config.getoption("app")
|
13
|
+
# 获取当前工作目录,并解析为绝对路径
|
14
|
+
current_working_directory = Path.cwd().resolve()
|
15
|
+
config_dir = current_working_directory.joinpath('config', project)
|
16
|
+
|
17
|
+
# Load base configuration
|
18
|
+
with open(config_dir.joinpath(f'{env}.yml')) as base_file:
|
19
|
+
config = yaml.safe_load(base_file)
|
20
|
+
|
21
|
+
# Load environment-specific configuration and merge into the base config
|
22
|
+
with open(config_dir.joinpath(service, f'{env}.yml')) as env_file:
|
23
|
+
env_config = yaml.safe_load(env_file)
|
24
|
+
# 合并配置
|
25
|
+
environments = config.get('environments', {})
|
26
|
+
environments.update(env_config.get('environments', {}))
|
27
|
+
# 添加运行时参数
|
28
|
+
environments.update({'appId': app_id,
|
29
|
+
'env_name': env,
|
30
|
+
'service': service,
|
31
|
+
'project': project})
|
32
|
+
return environments
|
33
|
+
|
34
|
+
# 添加命令行选项
|
35
|
+
def pytest_addoption(parser):
|
36
|
+
parser.addoption(
|
37
|
+
"--env",
|
38
|
+
action="store",
|
39
|
+
default="uat",
|
40
|
+
help="Environment to use (default: uat)"
|
41
|
+
)
|
42
|
+
parser.addoption(
|
43
|
+
"--app",
|
44
|
+
action="store",
|
45
|
+
default="0f0826ab",
|
46
|
+
help="App to use (default: 0f0826ab)"
|
47
|
+
)
|
48
|
+
parser.addoption(
|
49
|
+
"--service",
|
50
|
+
action="store",
|
51
|
+
default="0f0826ab",
|
52
|
+
help="Service to use (default: aqua)"
|
53
|
+
)
|
54
|
+
parser.addoption(
|
55
|
+
"--project",
|
56
|
+
action="store",
|
57
|
+
default="vwa",
|
58
|
+
help="Project name is required"
|
59
|
+
)
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
websockettest-1.0.10/templates/basic/data/audio//344/275/240/345/205/210/345/274/200/345/247/213.pcm
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
websockettest-1.0.10/templates/basic/data/audio//350/256/262/344/270/252/347/254/221/350/257/235.pcm
ADDED
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,26 @@
|
|
1
|
+
[pytest]
|
2
|
+
addopts = -sv --alluredir=./allure_results
|
3
|
+
|
4
|
+
# 设置测试用例的查找路径,可以是相对路径或绝对路径
|
5
|
+
; testpaths = ./testcase/test_aqua.py
|
6
|
+
; testpaths = ./testcase/test_gateway.py
|
7
|
+
|
8
|
+
# 设置测试用例文件的命名规则
|
9
|
+
python_files = test_*.py
|
10
|
+
|
11
|
+
# 设置测试用例的命名规则
|
12
|
+
python_classes = Test*
|
13
|
+
|
14
|
+
# 设置测试用例中测试方法的命名规则
|
15
|
+
python_functions = test*
|
16
|
+
|
17
|
+
;python_files = *.py
|
18
|
+
;python_classes = *
|
19
|
+
;python_functions = rui*
|
20
|
+
markers =
|
21
|
+
aqua
|
22
|
+
gateway
|
23
|
+
; smoke
|
24
|
+
; regression
|
25
|
+
; slow
|
26
|
+
; serial
|
File without changes
|
Binary file
|
Binary file
|
websockettest-1.0.10/templates/basic/testcase/__pycache__/test_all.cpython-310-pytest-8.2.2.pyc
ADDED
Binary file
|
websockettest-1.0.10/templates/basic/testcase/__pycache__/test_aqua.cpython-310-pytest-8.2.2.pyc
ADDED
Binary file
|
Binary file
|
websockettest-1.0.10/templates/basic/testcase/__pycache__/test_gateway.cpython-310-pytest-8.2.2.pyc
ADDED
Binary file
|
websockettest-1.0.10/templates/basic/testcase/__pycache__/test_gateway1.cpython-310-pytest-8.2.2.pyc
ADDED
Binary file
|
Binary file
|
websockettest-1.0.10/templates/basic/testcase/__pycache__/test_limin.cpython-310-pytest-8.2.2.pyc
ADDED
Binary file
|
@@ -1,25 +0,0 @@
|
|
1
|
-
README.md
|
2
|
-
setup.cfg
|
3
|
-
setup.py
|
4
|
-
WebsocketTest/__init__.py
|
5
|
-
WebsocketTest/cli.py
|
6
|
-
WebsocketTest/conftest.py
|
7
|
-
WebsocketTest/run_tests.py
|
8
|
-
WebsocketTest.egg-info/PKG-INFO
|
9
|
-
WebsocketTest.egg-info/SOURCES.txt
|
10
|
-
WebsocketTest.egg-info/dependency_links.txt
|
11
|
-
WebsocketTest.egg-info/entry_points.txt
|
12
|
-
WebsocketTest.egg-info/requires.txt
|
13
|
-
WebsocketTest.egg-info/top_level.txt
|
14
|
-
WebsocketTest/caseScript/Aqua.py
|
15
|
-
WebsocketTest/caseScript/Gateway.py
|
16
|
-
WebsocketTest/caseScript/__init__.py
|
17
|
-
WebsocketTest/commands/__init__.py
|
18
|
-
WebsocketTest/commands/startproject.py
|
19
|
-
WebsocketTest/commands/test.py
|
20
|
-
WebsocketTest/common/Assertion.py
|
21
|
-
WebsocketTest/common/WSBaseApi.py
|
22
|
-
WebsocketTest/common/__init__.py
|
23
|
-
WebsocketTest/common/assertUtils.py
|
24
|
-
WebsocketTest/common/logger.py
|
25
|
-
WebsocketTest/common/utils.py
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|