Home
last modified time | relevance | path

Searched refs:SchemaError (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/dports/misc/veles/veles-2018.05.0/python/veles/tests/schema/
H A Dtest_fields.py33 raise SchemaError
53 raise SchemaError
79 with self.assertRaises(SchemaError):
87 with self.assertRaises(SchemaError):
105 with self.assertRaises(SchemaError):
107 with self.assertRaises(SchemaError):
111 with self.assertRaises(SchemaError):
118 with self.assertRaises(SchemaError):
474 a.validate(SchemaError())
487 de = a.dump(SchemaError())
[all …]
H A Dtest_polymodel.py23 from veles.proto.exceptions import SchemaError
112 with self.assertRaises(SchemaError):
168 with self.assertRaises(SchemaError):
170 with self.assertRaises(SchemaError):
172 with self.assertRaises(SchemaError):
174 with self.assertRaises(SchemaError):
176 with self.assertRaises(SchemaError):
178 with self.assertRaises(SchemaError):
184 with self.assertRaises(SchemaError):
186 with self.assertRaises(SchemaError):
[all …]
H A Dtest_model.py24 from veles.proto.exceptions import SchemaError
101 with self.assertRaises(SchemaError):
103 with self.assertRaises(SchemaError):
107 with self.assertRaises(SchemaError):
109 with self.assertRaises(SchemaError):
166 with self.assertRaises(SchemaError):
168 with self.assertRaises(SchemaError):
170 with self.assertRaises(SchemaError):
172 with self.assertRaises(SchemaError):
174 with self.assertRaises(SchemaError):
[all …]
/dports/textproc/py-pykwalify/pykwalify-1.8.0/tests/
H A Dtest_core.py203 with pytest.raises(SchemaError):
206 with pytest.raises(SchemaError):
209 with pytest.raises(SchemaError):
212 with pytest.raises(SchemaError):
215 with pytest.raises(SchemaError):
281 SchemaError,
289 SchemaError,
297 SchemaError,
305 SchemaError,
313 SchemaError,
[all …]
/dports/misc/veles/veles-2018.05.0/test/network/
H A Dmodel.cc67 EXPECT_THROW(Any::loadMessagePack(mo), proto::SchemaError); in TEST()
75 EXPECT_THROW(Any::loadMessagePack(mo), proto::SchemaError); in TEST()
115 EXPECT_THROW(fromMsgpackObject(obj, &ptr), proto::SchemaError); in TEST()
134 EXPECT_THROW(fromMsgpackObject(obj, &ptr), proto::SchemaError); in TEST()
139 EXPECT_THROW(fromMsgpackObject(obj, &ptr), proto::SchemaError); in TEST()
158 EXPECT_THROW(fromMsgpackObject(obj, &ptr), proto::SchemaError); in TEST()
163 EXPECT_THROW(fromMsgpackObject(obj, &ptr), proto::SchemaError); in TEST()
182 EXPECT_THROW(fromMsgpackObject(obj, &ptr), proto::SchemaError); in TEST()
187 EXPECT_THROW(fromMsgpackObject(obj, &ptr), proto::SchemaError); in TEST()
206 EXPECT_THROW(fromMsgpackObject(obj, &ptr), proto::SchemaError); in TEST()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/depot_tools/depot_tools/third_party/schema/
H A Dschema.py16 class SchemaError(Exception): class
45 class SchemaWrongKeyError(SchemaError):
51 class SchemaMissingKeyError(SchemaError):
103 x = SchemaError([], [])
109 except SchemaError as _x:
175 except SchemaError as x:
246 except SchemaError:
292 except SchemaError as x:
295 raise SchemaError(
303 except SchemaError as x:
[all …]
H A Dtest_schema.py20 SE = raises(SchemaError)
257 except SchemaError as e:
261 except SchemaError as e:
266 except SchemaError as e:
284 except SchemaError as e:
288 except SchemaError as e:
292 except SchemaError as e:
299 except SchemaError as e:
304 except SchemaError as e:
309 except SchemaError as e:
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/third_party/schema/
H A Dschema.py16 class SchemaError(Exception): class
45 class SchemaWrongKeyError(SchemaError):
51 class SchemaMissingKeyError(SchemaError):
103 x = SchemaError([], [])
109 except SchemaError as _x:
175 except SchemaError as x:
246 except SchemaError:
292 except SchemaError as x:
295 raise SchemaError(
303 except SchemaError as x:
[all …]
H A Dtest_schema.py20 SE = raises(SchemaError)
257 except SchemaError as e:
261 except SchemaError as e:
266 except SchemaError as e:
284 except SchemaError as e:
288 except SchemaError as e:
292 except SchemaError as e:
299 except SchemaError as e:
304 except SchemaError as e:
309 except SchemaError as e:
[all …]
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/getkin/kin-openapi/openapi3/
H A Dschema_test.go1018 Error *SchemaError
1025 Error: &SchemaError{
1034 Error: &SchemaError{
1038 Origin: &SchemaError{
1074 require.IsType(t, &SchemaError{}, e)
1076 scherr, _ := e.(*SchemaError)
1103 {&SchemaError{SchemaField: "minLength"}, &SchemaError{SchemaField: "pattern"}},
1104 {&SchemaError{SchemaField: "maxLength"}, &SchemaError{SchemaField: "pattern"}},
1117 {&SchemaError{SchemaField: "type"}, &SchemaError{SchemaField: "minimum"}},
1118 {&SchemaError{SchemaField: "type"}, &SchemaError{SchemaField: "maximum"}},
[all …]
H A Dschema.go814 return &SchemaError{
832 return &SchemaError{
907 e := &SchemaError{
973 return &SchemaError{
1026 err := &SchemaError{
1043 err := &SchemaError{
1060 err := &SchemaError{
1077 err := &SchemaError{
1184 err := &SchemaError{
1215 err := &SchemaError{
[all …]
/dports/devel/folly/folly-2021.12.27.00/folly/experimental/
H A DJSONSchema.cpp40 SchemaError(SchemaError&&) = default;
41 SchemaError(const SchemaError&) = default;
46 SchemaError( in SchemaError() function
58 return Optional<SchemaError>(SchemaError(std::forward<Args>(args)...)); in makeError()
110 Optional<SchemaError> validate(
133 Optional<SchemaError> validate( in validate()
189 Optional<SchemaError> validate( in validate()
215 Optional<SchemaError> validate( in validate()
239 Optional<SchemaError> validate( in validate()
259 Optional<SchemaError> validate( in validate()
[all …]
/dports/devel/py-pipenv/pipenv-2021.5.29/pipenv/vendor/cerberus/tests/
H A Dtest_schema.py7 from cerberus import Validator, errors, SchemaError
14 with pytest.raises(SchemaError, match=errors.SCHEMA_ERROR_MISSING):
21 with pytest.raises(SchemaError, match=msg):
28 with pytest.raises(SchemaError):
34 with pytest.raises(SchemaError, match=re.escape(msg)):
40 with pytest.raises(SchemaError, match=re.escape(msg)):
47 with pytest.raises(SchemaError, match=re.escape(msg)):
/dports/devel/py-cerberus/Cerberus-1.3.4/cerberus/tests/
H A Dtest_schema.py7 from cerberus import Validator, errors, SchemaError
14 with pytest.raises(SchemaError, match=errors.SCHEMA_ERROR_MISSING):
21 with pytest.raises(SchemaError, match=msg):
28 with pytest.raises(SchemaError):
34 with pytest.raises(SchemaError, match=re.escape(msg)):
40 with pytest.raises(SchemaError, match=re.escape(msg)):
47 with pytest.raises(SchemaError, match=re.escape(msg)):
/dports/textproc/py-pykwalify/pykwalify-1.8.0/pykwalify/
H A Dcore.py243 self.errors.append(SchemaError.SchemaErrorEntry(
251 self.errors.append(SchemaError.SchemaErrorEntry(
311 self.errors.append(SchemaError.SchemaErrorEntry(
319 self.errors.append(SchemaError.SchemaErrorEntry(
350 self.errors.append(SchemaError.SchemaErrorEntry(
442 s = SchemaError.SchemaErrorEntry(
518 self.errors.append(SchemaError.SchemaErrorEntry(
668 self.errors.append(SchemaError.SchemaErrorEntry(
811 self.errors.append(SchemaError.SchemaErrorEntry(
862 self.errors.append(SchemaError.SchemaErrorEntry(
[all …]
/dports/devel/py-schema/schema-0.7.5/
H A Dschema.py34 class SchemaError(Exception): class
65 class SchemaWrongKeyError(SchemaError):
72 class SchemaMissingKeyError(SchemaError):
79 class SchemaOnlyOneAllowedError(SchemaError):
85 class SchemaForbiddenKeyError(SchemaError):
164 except SchemaError as _x:
167 raise SchemaError(
248 except SchemaError as x:
339 except SchemaError:
444 except SchemaError as x:
[all …]
H A Dtest_schema.py26 SchemaError,
39 SE = raises(SchemaError)
385 except SchemaError as e:
389 except SchemaError as e:
394 except SchemaError as e:
416 except SchemaError as e:
420 except SchemaError as e:
424 except SchemaError as e:
431 except SchemaError as e:
436 except SchemaError as e:
[all …]
/dports/devel/py-zconfig/ZConfig-3.0.4/ZConfig/
H A Dinfo.py75 raise ZConfig.SchemaError(
78 raise ZConfig.SchemaError(
114 raise ZConfig.SchemaError(
120 raise ZConfig.SchemaError(
124 raise ZConfig.SchemaError(
127 raise ZConfig.SchemaError(
166 raise ZConfig.SchemaError(
170 raise ZConfig.SchemaError(
346 raise ZConfig.SchemaError(
349 raise ZConfig.SchemaError(
[all …]
/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/pdb2pqr/ZSI/wstools/
H A DXMLSchema.py158 class SchemaError(Exception): class
663 raise SchemaError, 'unknown prefix %s' %prefix
780 raise SchemaError,\
794 raise SchemaError, '%s, unknown attribute(%s,%s)' \
1071 raise SchemaError, 'import schema bad targetNamespace'
1085 raise SchemaError, 'include schema bad targetNamespace'
1219 except SchemaError, ex:
1643 raise SchemaError, 'Unknown attribute type'
1928 raise SchemaError, 'failed to locate the XSD namespace'
2754 raise SchemaError, 'Unknown component (%s)'\
[all …]
/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/pdb2pqr/contrib/ZSI-2.1-a1/ZSI/wstools/
H A DXMLSchema.py158 class SchemaError(Exception): class
663 raise SchemaError, 'unknown prefix %s' %prefix
780 raise SchemaError,\
794 raise SchemaError, '%s, unknown attribute(%s,%s)' \
1071 raise SchemaError, 'import schema bad targetNamespace'
1085 raise SchemaError, 'include schema bad targetNamespace'
1219 except SchemaError, ex:
1643 raise SchemaError, 'Unknown attribute type'
1928 raise SchemaError, 'failed to locate the XSD namespace'
2754 raise SchemaError, 'Unknown component (%s)'\
[all …]
/dports/textproc/py-wstools/wstools-0.4.8/wstools/
H A DXMLSchema.py195 class SchemaError(Exception): class
730 raise SchemaError(
818 raise SchemaError(
823 raise SchemaError(
829 raise SchemaError(
879 raise SchemaError(
1777 raise SchemaError(
1892 raise SchemaError(
2606 raise SchemaError(
2700 raise SchemaError(
[all …]
/dports/misc/veles/veles-2018.05.0/python/veles/async_client/
H A Dsubscriber.py17 SchemaError,
57 raise SchemaError('weird reply to get')
73 raise SchemaError('weird reply to get_data')
91 raise SchemaError('weird reply to get_bindata')
108 raise SchemaError('weird reply to get_list')
126 raise SchemaError('weird reply to get_query')
143 raise SchemaError('weird reply to list_connections')
/dports/misc/veles/veles-2018.05.0/src/network/
H A Dmsgpackobject.cc260 throw proto::SchemaError( in getBool()
279 throw proto::SchemaError( in getUnsignedInt()
296 throw proto::SchemaError( in getSignedInt()
308 throw proto::SchemaError( in getDouble()
322 throw proto::SchemaError( in getString()
330 throw proto::SchemaError( in getString()
344 throw proto::SchemaError( in getBin()
352 throw proto::SchemaError( in getBin()
367 throw proto::SchemaError( in getArray()
376 throw proto::SchemaError( in getArray()
[all …]
/dports/devel/py-zconfig/ZConfig-3.0.4/ZConfig/tests/
H A Dtest_schema.py338 self.assertRaises(ZConfig.SchemaError,
493 self.assertRaises(ZConfig.SchemaError,
515 self.assertRaises(ZConfig.SchemaError,
681 self.assertRaises(ZConfig.SchemaError,
868 self.assertRaises(ZConfig.SchemaError,
885 self.assertRaises(ZConfig.SchemaError,
984 self.assertRaises(ZConfig.SchemaError,
1004 self.assertRaises(ZConfig.SchemaError,
1058 self.assertRaises(ZConfig.SchemaError,
1064 self.assertRaises(ZConfig.SchemaError,
[all …]
/dports/misc/veles/veles-2018.05.0/python/veles/proto/
H A Dexceptions.py48 raise SchemaError('serialized exception must be a dict')
50 raise SchemaError('wrong set of keys in serialized exception')
52 raise SchemaError('exception type must be a string')
54 raise SchemaError('exception message must be a string')
94 class SchemaError(VelesException): class

12345678910>>...13