Home
last modified time | relevance | path

Searched refs:assertRaisesRegexp (Results 1 – 25 of 909) sorted by relevance

12345678910>>...37

/dports/www/chromium-legacy/chromium-88.0.4324.182/mojo/public/tools/mojom/
H A Dstable_attribute_unittest.py55 with self.assertRaisesRegexp(Exception, 'because it depends on E'):
57 with self.assertRaisesRegexp(Exception, 'because it depends on X'):
59 with self.assertRaisesRegexp(Exception, 'because it depends on T'):
61 with self.assertRaisesRegexp(Exception, 'because it depends on T'):
63 with self.assertRaisesRegexp(Exception, 'because it depends on T'):
65 with self.assertRaisesRegexp(Exception, 'because it depends on F'):
68 with self.assertRaisesRegexp(Exception, 'because it depends on F'):
83 with self.assertRaisesRegexp(Exception, 'because it depends on E'):
85 with self.assertRaisesRegexp(Exception, 'because it depends on X'):
87 with self.assertRaisesRegexp(Exception, 'because it depends on T'):
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/mojo/public/tools/mojom/mojom/parse/
H A Dparser_unittest.py46 with self.assertRaisesRegexp(
60 with self.assertRaisesRegexp(
77 with self.assertRaisesRegexp(
89 with self.assertRaisesRegexp(
106 with self.assertRaisesRegexp(
185 with self.assertRaisesRegexp(
197 with self.assertRaisesRegexp(
209 with self.assertRaisesRegexp(
225 with self.assertRaisesRegexp(
240 with self.assertRaisesRegexp(
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/mojo/public/tools/mojom/mojom/parse/
H A Dparser_unittest.py46 with self.assertRaisesRegexp(
60 with self.assertRaisesRegexp(
77 with self.assertRaisesRegexp(
89 with self.assertRaisesRegexp(
106 with self.assertRaisesRegexp(
185 with self.assertRaisesRegexp(
197 with self.assertRaisesRegexp(
209 with self.assertRaisesRegexp(
225 with self.assertRaisesRegexp(
240 with self.assertRaisesRegexp(
[all …]
/dports/devel/py-unittest2pytest/unittest2pytest-0.4/tests/fixtures/self_assert/
H A DassertRaisesRegexp_in.py5 self.assertRaisesRegexp(RunTimeError, "text .* match", someFunc)
8 self.assertRaisesRegexp(
14 self.assertRaisesRegexp(RunTimeError, "text .* match", someFunc, 1,2,3)
17 self.assertRaisesRegexp(RunTimeError, "text .* match", someFunc, foo=42, bar=43)
20 with self.assertRaisesRegexp(RunTimeError, "text .* match"):
24 self.assertRaisesRegexp(RunTimeError, "text .* match", someFunc, 1,2,3, foo=42, bar=43)
28 self.assertRaisesRegexp(
41 self.assertRaisesRegexp(RunTimeError, ("foo" "bar"), someFunc, 1,2,3)
44 self.assertRaisesRegexp(RunTimeError, "foo" + "bar", someFunc, 1,2,3)
/dports/sysutils/ansible2/ansible-2.9.27/test/units/modules/storage/netapp/
H A Dtest_netapp_e_firmware.py90 with self.assertRaisesRegexp(AnsibleFailJson, "Firmware file is invalid."):
162 with self.assertRaisesRegexp(AnsibleFailJson, "Invalid NVSRAM file."):
170 with self.assertRaisesRegexp(AnsibleFailJson, "Incompatible NVSRAM file."):
206 with self.assertRaisesRegexp(AnsibleFailJson, "Invalid firmware bundle file."):
220 with self.assertRaisesRegexp(AnsibleFailJson, "Incompatible firmware bundle file."):
234 with self.assertRaisesRegexp(AnsibleFailJson, "Downgrades are not permitted."):
247 with self.assertRaisesRegexp(AnsibleFailJson, "Downgrades are not permitted."):
337 with self.assertRaisesRegexp(AnsibleFailJson, "NVSRAM is not compatible."):
404 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to upload NVSRAM file."):
492 with self.assertRaisesRegexp(AnsibleFailJson, "Downgrades are not permitted."):
[all …]
H A Dtest_netapp_e_volume.py321 with self.assertRaisesRegexp(AnsibleFailJson, "Timed out waiting for the volume"):
404 with self.assertRaisesRegexp(AnsibleFailJson, "Requested storage pool"):
407 with self.assertRaisesRegexp(AnsibleFailJson,
430 with self.assertRaisesRegexp(AnsibleFailJson,
598 with self.assertRaisesRegexp(AnsibleFailJson, "Existing volume segment size is"):
708 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to create volume."):
718 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to create thin volume."):
824 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to expand volume."):
834 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to expand thin volume."):
861 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to delete volume."):
[all …]
H A Dtest_netapp_e_drive_firmware.py57 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to upload drive firmware"):
88 …with self.assertRaisesRegexp(AnsibleFailJson, "Failed to complete compatibility and health check."…
98 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to retrieve drive information."):
108 with self.assertRaisesRegexp(AnsibleFailJson, "Drive is not capable of online upgrade."):
165 … with self.assertRaisesRegexp(AnsibleFailJson, "Timed out waiting for drive firmware upgrade."):
170 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to retrieve drive status."):
181 with self.assertRaisesRegexp(AnsibleFailJson, "Drive firmware upgrade failed."):
214 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to upgrade drive firmware."):
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/netapp_eseries/santricity/tests/unit/modules/
H A Dtest_na_santricity_firmware.py86 with self.assertRaisesRegexp(AnsibleFailJson, "Firmware file is invalid."):
117 with self.assertRaisesRegexp(AnsibleFailJson, "Health check failed!"):
143 with self.assertRaisesRegexp(AnsibleFailJson, "Invalid NVSRAM file."):
151 with self.assertRaisesRegexp(AnsibleFailJson, "Incompatible NVSRAM file."):
187 with self.assertRaisesRegexp(AnsibleFailJson, "Invalid firmware bundle file."):
215 with self.assertRaisesRegexp(AnsibleFailJson, "Downgrades are not permitted."):
228 with self.assertRaisesRegexp(AnsibleFailJson, "Downgrades are not permitted."):
286 with self.assertRaisesRegexp(AnsibleFailJson, "NVSRAM is not compatible."):
354 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to upload NVSRAM file."):
449 with self.assertRaisesRegexp(AnsibleFailJson, "Downgrades are not permitted."):
[all …]
H A Dtest_na_santricity_global.py64 … with self.assertRaisesRegexp(AnsibleFailJson, r"Failed to retrieve storage array capabilities."):
78 with self.assertRaisesRegexp(AnsibleFailJson, r"Failed to retrieve cache settings."):
85 … with self.assertRaisesRegexp(AnsibleFailJson, r"Failed to determine current configuration."):
129 with self.assertRaisesRegexp(AnsibleFailJson, r"Invalid cache block size."):
223 with self.assertRaisesRegexp(AnsibleFailJson, r"Invalid host type index!"):
264 … with self.assertRaisesRegexp(AnsibleFailJson, r"Automatic load balancing is not available."):
358 with self.assertRaisesRegexp(AnsibleFailJson, r"Failed to set cache settings."):
383 with self.assertRaisesRegexp(AnsibleFailJson, r"Failed to set default host type."):
458 with self.assertRaisesRegexp(AnsibleFailJson, r"Failed to set the storage array name!"):
474 with self.assertRaisesRegexp(AnsibleExitJson, r"'changed': False"):
[all …]
H A Dtest_na_santricity_asup.py82 … with self.assertRaisesRegexp(AnsibleFailJson, "Failed to retrieve ASUP configuration!"):
88 … with self.assertRaisesRegexp(AnsibleFailJson, "Failed to retrieve ASUP configuration!"):
94 … with self.assertRaisesRegexp(AnsibleFailJson, "Failed to retrieve ASUP configuration!"):
100 … with self.assertRaisesRegexp(AnsibleFailJson, "Failed to retrieve ASUP configuration!"):
248 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to validate ASUP configuration!"):
257 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to change ASUP configuration!"):
274 … with self.assertRaisesRegexp(AnsibleFailJson, "Failed to enabled ASUP maintenance window."):
282 … with self.assertRaisesRegexp(AnsibleFailJson, "Failed to store maintenance information."):
290 … with self.assertRaisesRegexp(AnsibleFailJson, "Failed to store maintenance information."):
308 … with self.assertRaisesRegexp(AnsibleFailJson, "Failed to store maintenance information."):
[all …]
H A Dtest_na_santricity_volume.py315 with self.assertRaisesRegexp(AnsibleFailJson, "Timed out waiting for the volume"):
398 with self.assertRaisesRegexp(AnsibleFailJson, "Requested storage pool"):
401 with self.assertRaisesRegexp(AnsibleFailJson,
424 with self.assertRaisesRegexp(AnsibleFailJson,
592 with self.assertRaisesRegexp(AnsibleFailJson, "Existing volume segment size is"):
702 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to create volume."):
712 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to create thin volume."):
818 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to expand volume."):
828 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to expand thin volume."):
855 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to delete volume."):
[all …]
H A Dtest_na_santricity_ib_iser_interface.py35 … with self.assertRaisesRegexp(AnsibleFailJson, "An invalid ip address was provided for address."):
55 … with self.assertRaisesRegexp(AnsibleFailJson, "Failed to retrieve defined host interfaces."):
61 … with self.assertRaisesRegexp(AnsibleFailJson, "Failed to detect any InfiniBand iSER interfaces!"):
83 … with self.assertRaisesRegexp(AnsibleFailJson, "Failed to retrieve ib link status information!"):
133 with self.assertRaisesRegexp(AnsibleExitJson, "No changes were required."):
140 with self.assertRaisesRegexp(AnsibleExitJson, "No changes were required."):
147 with self.assertRaisesRegexp(AnsibleExitJson, "The interface settings have been updated."):
157 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to modify the interface!"):
H A Dtest_na_santricity_auth.py147 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to set minimum password length."):
156 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to set minimum password length."):
165 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to set minimum password length."):
288 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to validate stored password!"):
291 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to validate stored password!"):
339 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to set proxy's admin password."):
400 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to set proxy password."):
409 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to set embedded user password."):
418 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to set embedded user password."):
465 with self.assertRaisesRegexp(AnsibleExitJson, "'admin' password has been changed."):
[all …]
H A Dtest_na_santricity_iscsi_target.py78 … with self.assertRaisesRegexp(AnsibleFailJson, r'.*?CHAP secret is not valid.*') as result:
98 …with self.assertRaisesRegexp(AnsibleFailJson, r"Failed to retrieve the iSCSI target information."):
102 …with self.assertRaisesRegexp(AnsibleFailJson, r"Failed to retrieve the iSCSI target information."):
106 …with self.assertRaisesRegexp(AnsibleFailJson, r"This storage-system does not appear to have iSCSI …
126 … with self.assertRaisesRegexp(AnsibleFailJson, r"Failed to update the iSCSI target settings."):
157 … with self.assertRaisesRegexp(AnsibleFailJson, r"Failed to update the iSCSI target settings."):
168 with self.assertRaisesRegexp(AnsibleExitJson, r"\'changed\': True"):
174 with self.assertRaisesRegexp(AnsibleExitJson, r"\'changed\': True"):
180 with self.assertRaisesRegexp(AnsibleExitJson, r"\'changed\': True"):
186 with self.assertRaisesRegexp(AnsibleExitJson, r"\'changed\': False"):
H A Dtest_na_santricity_proxy_drive_firmware_upload.py49 with self.assertRaisesRegexp(AnsibleFailJson, r"Drive firmware file does not exist!"):
72 …with self.assertRaisesRegexp(AnsibleFailJson, r"Failed to retrieve proxy drive firmware file list.…
112 with self.assertRaisesRegexp(AnsibleExitJson, r"'changed': True"):
117 with self.assertRaisesRegexp(AnsibleExitJson, r"'changed': True"):
122 with self.assertRaisesRegexp(AnsibleExitJson, r"'changed': True"):
127 with self.assertRaisesRegexp(AnsibleExitJson, r"'changed': False"):
136 …with self.assertRaisesRegexp(AnsibleFailJson, r"Module can only be executed against SANtricity Web…
H A Dtest_na_santricity_proxy_firmware_upload.py48 with self.assertRaisesRegexp(AnsibleFailJson, r"Drive firmware file does not exist!"):
71 …with self.assertRaisesRegexp(AnsibleFailJson, r"Failed to retrieve current firmware file listing."…
111 with self.assertRaisesRegexp(AnsibleExitJson, r"'changed': True"):
116 with self.assertRaisesRegexp(AnsibleExitJson, r"'changed': True"):
121 with self.assertRaisesRegexp(AnsibleExitJson, r"'changed': True"):
126 with self.assertRaisesRegexp(AnsibleExitJson, r"'changed': False"):
135 …with self.assertRaisesRegexp(AnsibleFailJson, r"Module can only be executed against SANtricity Web…
H A Dtest_na_santricity_drive_firmware.py53 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to upload drive firmware"):
84 …with self.assertRaisesRegexp(AnsibleFailJson, "Failed to complete compatibility and health check."…
94 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to retrieve drive information."):
104 with self.assertRaisesRegexp(AnsibleFailJson, "Drive is not capable of online upgrade."):
161 … with self.assertRaisesRegexp(AnsibleFailJson, "Timed out waiting for drive firmware upgrade."):
166 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to retrieve drive status."):
177 with self.assertRaisesRegexp(AnsibleFailJson, "Drive firmware upgrade failed."):
210 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to upgrade drive firmware."):
H A Dtest_na_santricity_discover.py46 …with self.assertRaisesRegexp(AnsibleFailJson, "Invalid port! Ports must be positive numbers betwee…
84 with self.assertRaisesRegexp(AnsibleFailJson, "Web Services is not running as a proxy!"):
90 with self.assertRaisesRegexp(AnsibleFailJson, "Proxy is not available! Check proxy_url."):
135 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to initiate array discovery."):
143 with self.assertRaisesRegexp(AnsibleFailJson, "Failed to get the discovery results."):
151 … with self.assertRaisesRegexp(AnsibleFailJson, "Timeout waiting for array discovery process."):
161 with self.assertRaisesRegexp(AnsibleExitJson, "Discover process complete."):
167 with self.assertRaisesRegexp(AnsibleExitJson, "Discover process complete."):
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/vendored/boto/tests/integration/gs/
H A Dtest_generation_conditionals.py48 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
57 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
68 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
75 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
136 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
140 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
160 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
170 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
201 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
205 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/third_party/boto/tests/integration/gs/
H A Dtest_generation_conditionals.py48 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
57 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
68 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
75 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
136 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
140 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
160 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
170 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
201 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
205 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/vendored/boto/tests/integration/gs/
H A Dtest_generation_conditionals.py48 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
57 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
68 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
75 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
136 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
140 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
160 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
170 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
201 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
205 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
[all …]
/dports/devel/py-boto/boto-2.49.0/tests/integration/gs/
H A Dtest_generation_conditionals.py48 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
57 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
68 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
75 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
136 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
140 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
160 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
170 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
201 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
205 with self.assertRaisesRegexp(GSResponseError, VERSION_MISMATCH):
[all …]
/dports/lang/python-legacy/Python-2.7.18/Lib/lib-tk/test/test_tkinter/
H A Dtest_geometry_managers.py111 with self.assertRaisesRegexp(TclError,
377 with self.assertRaisesRegexp(TclError, 'bad anchor "j"'):
379 with self.assertRaisesRegexp(TclError, 'ambiguous anchor ""'):
433 with self.assertRaisesRegexp(TclError, 'bad bordermode "j"'):
558 with self.assertRaisesRegexp(TclError, 'bad pad value "-1": '
571 with self.assertRaisesRegexp(TclError, 'bad pad value "-1": '
612 with self.assertRaisesRegexp(TclError, 'bad option "-foo"'):
615 with self.assertRaisesRegexp(TclError,
651 with self.assertRaisesRegexp(TclError, 'invalid arg "-pad": '
668 with self.assertRaisesRegexp(TclError, 'bad option "-foo"'):
[all …]
/dports/lang/python27/Python-2.7.18/Lib/lib-tk/test/test_tkinter/
H A Dtest_geometry_managers.py111 with self.assertRaisesRegexp(TclError,
377 with self.assertRaisesRegexp(TclError, 'bad anchor "j"'):
379 with self.assertRaisesRegexp(TclError, 'ambiguous anchor ""'):
433 with self.assertRaisesRegexp(TclError, 'bad bordermode "j"'):
558 with self.assertRaisesRegexp(TclError, 'bad pad value "-1": '
571 with self.assertRaisesRegexp(TclError, 'bad pad value "-1": '
612 with self.assertRaisesRegexp(TclError, 'bad option "-foo"'):
615 with self.assertRaisesRegexp(TclError,
651 with self.assertRaisesRegexp(TclError, 'invalid arg "-pad": '
668 with self.assertRaisesRegexp(TclError, 'bad option "-foo"'):
[all …]
/dports/science/nest/nest-simulator-3.1/testsuite/pytests/
H A Dtest_errors.py89 self.assertRaisesRegexp(
92 self.assertRaisesRegexp(
95 self.assertRaisesRegexp(
98 self.assertRaisesRegexp(nest.kernel.NESTError,
102 self.assertRaisesRegexp(nest.kernel.NESTError,
114 self.assertRaisesRegexp(

12345678910>>...37