mangoautomation 1.0.46__tar.gz → 1.0.48__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.
Potentially problematic release.
This version of mangoautomation might be problematic. Click here for more details.
- {mangoautomation-1.0.46/mangoautomation.egg-info → mangoautomation-1.0.48}/PKG-INFO +2 -2
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/android/__init__.py +4 -4
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/async_web/__init__.py +1 -1
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/sync_web/__init__.py +1 -1
- {mangoautomation-1.0.46 → mangoautomation-1.0.48/mangoautomation.egg-info}/PKG-INFO +2 -2
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation.egg-info/requires.txt +1 -1
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/setup.py +2 -2
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/LICENSE +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/MANIFEST.in +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/README.md +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/__init__.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/enums/__init__.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/enums/_base_enum.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/enums/_ui_enum.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/exceptions/__init__.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/exceptions/_error_msg.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/exceptions/_exceptions.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/models/__init__.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/models/_ui_model.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/tools/__init__.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/tools/_mate.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/tools/_uiautodev.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/__init__.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/_async_element.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/_base_data.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/_driver_object.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/_sync_element.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/android/_application.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/android/_assertion.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/android/_customization.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/android/_element.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/android/_equipment.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/android/_new_android.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/android/_page.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/ios/__init__.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/pc/__init__.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/pc/assertion.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/pc/customization.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/pc/element.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/pc/input_device.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/pc/new_windows.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/__init__.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/async_web/_assertion.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/async_web/_browser.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/async_web/_customization.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/async_web/_element.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/async_web/_input_device.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/async_web/_new_browser.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/async_web/_page.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/sync_web/_assertion.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/sync_web/_browser.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/sync_web/_customization.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/sync_web/_element.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/sync_web/_input_device.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/sync_web/_new_browser.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/sync_web/_page.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation.egg-info/SOURCES.txt +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation.egg-info/dependency_links.txt +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation.egg-info/top_level.txt +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/setup.cfg +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/tests/__init__.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/tests/test_ui_and.py +0 -0
- {mangoautomation-1.0.46 → mangoautomation-1.0.48}/tests/test_ui_web.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mangoautomation
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.48
|
|
4
4
|
Summary: 测试工具
|
|
5
5
|
Home-page: https://gitee.com/mao-peng/testkit
|
|
6
6
|
Author: 毛鹏
|
|
@@ -12,7 +12,7 @@ Requires-Dist: pydantic==2.9.2
|
|
|
12
12
|
Requires-Dist: playwright==1.43.0
|
|
13
13
|
Requires-Dist: uiautomation==2.0.20
|
|
14
14
|
Requires-Dist: uiautomator2==3.2.5
|
|
15
|
-
Requires-Dist: mangotools>=1.1.
|
|
15
|
+
Requires-Dist: mangotools>=1.1.14
|
|
16
16
|
Requires-Dist: adbutils~=2.8.9
|
|
17
17
|
Requires-Dist: uiautodev==0.9.0
|
|
18
18
|
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/android/__init__.py
RENAMED
|
@@ -66,16 +66,16 @@ class AndroidDriver(AndroidPage,
|
|
|
66
66
|
def a_assertion_element(self, name, ope_key, ope_value):
|
|
67
67
|
self.base_data.log.debug(f'断言元素,名称:{name},key:{ope_key},value:{ope_value}')
|
|
68
68
|
is_method = callable(getattr(AndroidAssertion(self.base_data), ope_key, None))
|
|
69
|
-
if is_method:
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
if is_method and ope_value.get('actual') is None:
|
|
70
|
+
raise MangoAutomationError(*ERROR_MSG_0031, value=(name,))
|
|
71
|
+
|
|
72
72
|
try:
|
|
73
73
|
if is_method:
|
|
74
74
|
self.base_data.log.debug(f'开始断言-1,方法:{ope_key},断言值:{ope_value}')
|
|
75
75
|
Mango.s_e(AndroidAssertion(self.base_data), ope_key, ope_value)
|
|
76
76
|
else:
|
|
77
77
|
self.base_data.log.debug(f'开始断言-2,方法:{ope_key},断言值:{ope_value}')
|
|
78
|
-
|
|
78
|
+
MangoAssertion(self.base_data.mysql_connect).ass(ope_key, ope_value.get('actual'), ope_value.get('expect'))
|
|
79
79
|
except AssertionError as error:
|
|
80
80
|
self.base_data.log.error(f'安卓自动化失败-1,类型:{type(error)},失败详情:{error}')
|
|
81
81
|
raise MangoAutomationError(*ERROR_MSG_0017, value=error.args)
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/async_web/__init__.py
RENAMED
|
@@ -76,7 +76,7 @@ class AsyncWebDevice(AsyncWebBrowser,
|
|
|
76
76
|
await Mango.a_e(AsyncWebAssertion(self.base_data), ope_key, ope_value)
|
|
77
77
|
else:
|
|
78
78
|
self.base_data.log.debug(f'开始断言-2,方法:{ope_key},断言值:{ope_value}')
|
|
79
|
-
|
|
79
|
+
MangoAssertion(self.base_data.mysql_connect).ass(ope_key, ope_value.get('actual'), ope_value.get('expect'))
|
|
80
80
|
except AssertionError as error:
|
|
81
81
|
self.base_data.log.debug(f'WEB自动化断言失败-1,类型:{type(error)},失败详情:{error}')
|
|
82
82
|
raise MangoAutomationError(*ERROR_MSG_0017, value=error.args)
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/sync_web/__init__.py
RENAMED
|
@@ -75,7 +75,7 @@ class SyncWebDevice(SyncWebBrowser,
|
|
|
75
75
|
Mango.s_e(SyncWebAssertion(self.base_data), ope_key, ope_value)
|
|
76
76
|
else:
|
|
77
77
|
self.base_data.log.debug(f'开始断言-2,方法:{ope_key},断言值:{ope_value}')
|
|
78
|
-
|
|
78
|
+
MangoAssertion(self.base_data.mysql_connect).ass(ope_key, ope_value.get('actual'), ope_value.get('expect'))
|
|
79
79
|
except AssertionError as error:
|
|
80
80
|
self.base_data.log.debug(f'WEB自动化断言失败-1,类型:{type(error)},失败详情:{error}')
|
|
81
81
|
raise MangoAutomationError(*ERROR_MSG_0017, value=error.args)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mangoautomation
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.48
|
|
4
4
|
Summary: 测试工具
|
|
5
5
|
Home-page: https://gitee.com/mao-peng/testkit
|
|
6
6
|
Author: 毛鹏
|
|
@@ -12,7 +12,7 @@ Requires-Dist: pydantic==2.9.2
|
|
|
12
12
|
Requires-Dist: playwright==1.43.0
|
|
13
13
|
Requires-Dist: uiautomation==2.0.20
|
|
14
14
|
Requires-Dist: uiautomator2==3.2.5
|
|
15
|
-
Requires-Dist: mangotools>=1.1.
|
|
15
|
+
Requires-Dist: mangotools>=1.1.14
|
|
16
16
|
Requires-Dist: adbutils~=2.8.9
|
|
17
17
|
Requires-Dist: uiautodev==0.9.0
|
|
18
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from setuptools import setup, find_packages
|
|
2
2
|
|
|
3
|
-
__version__ = '1.0.
|
|
3
|
+
__version__ = '1.0.48'
|
|
4
4
|
|
|
5
5
|
with open("README.md", "r", encoding='utf-8') as fh:
|
|
6
6
|
long_description = fh.read()
|
|
@@ -21,7 +21,7 @@ setup(
|
|
|
21
21
|
'playwright==1.43.0',
|
|
22
22
|
'uiautomation==2.0.20',
|
|
23
23
|
'uiautomator2==3.2.5',
|
|
24
|
-
'mangotools>=1.1.
|
|
24
|
+
'mangotools>=1.1.14',
|
|
25
25
|
'adbutils~=2.8.9',
|
|
26
26
|
'uiautodev==0.9.0',
|
|
27
27
|
|
|
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
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/android/_application.py
RENAMED
|
File without changes
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/android/_assertion.py
RENAMED
|
File without changes
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/android/_customization.py
RENAMED
|
File without changes
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/android/_element.py
RENAMED
|
File without changes
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/android/_equipment.py
RENAMED
|
File without changes
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/android/_new_android.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/pc/customization.py
RENAMED
|
File without changes
|
|
File without changes
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/pc/input_device.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/async_web/_browser.py
RENAMED
|
File without changes
|
|
File without changes
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/async_web/_element.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/async_web/_page.py
RENAMED
|
File without changes
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/sync_web/_assertion.py
RENAMED
|
File without changes
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/sync_web/_browser.py
RENAMED
|
File without changes
|
|
File without changes
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/sync_web/_element.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation/uidrive/web/sync_web/_page.py
RENAMED
|
File without changes
|
|
File without changes
|
{mangoautomation-1.0.46 → mangoautomation-1.0.48}/mangoautomation.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|