MCPcopy Create free account

hub / github.com/schematics/schematics / functions

Functions853 in github.com/schematics/schematics

Functiontest_deep_string_search
()
tests/test_model_type.py:274
Functiontest_default_value_when_embedded_model
()
tests/test_model_type.py:126
Functiontest_default_value_when_updating_model
()
tests/test_models.py:310
Functiontest_defaults
()
tests/test_models.py:87
Methodtest_delete
(self)
examples/django/linkify/links/tests/integration_tests/test_links.py:141
Functiontest_delitem
()
tests/test_models.py:720
Functiontest_dict_interface
()
tests/test_models.py:161
Functiontest_dict_methods_in_model
a regression test to ensure that an issue where attributes on dictionaries are not being misinterpreted as actual schematics fields.
tests/test_models.py:12
Functiontest_dict_methods_in_model_atoms
atoms should return the raw values, and not call any overridden methods.
tests/test_models.py:26
Functiontest_dict_or_list_of_ints
()
tests/test_union_type.py:39
Functiontest_dict_type_with_model_type
()
tests/test_dict_type.py:31
Functiontest_dict_type_with_model_type_init_with_instance
()
tests/test_dict_type.py:70
Functiontest_doesnt_fail_if_role_isnt_found_on_embedded_models
()
tests/test_serialize.py:650
Functiontest_doesnt_fail_serialize_when_none_on_whole_model_with_roles
()
tests/test_serialize.py:690
Functiontest_dont_forget_required_fields_after_multiple_validation
Validation MUST NOT forget about required fields when clearing untrusted data. Model init data also MUST NOT influence the requirement ch
tests/test_invariants.py:71
Functiontest_dont_overwrite_with_invalid_data
Model-level validators MAY deny data from being set.
tests/test_invariants.py:23
Functiontest_dont_serialize_untrusted_data
Serialization MUST ONLY contain the subset of validated data.
tests/test_invariants.py:9
Functiontest_email_type_with_invalid_addresses
()
tests/test_types_net.py:176
Functiontest_email_type_with_valid_addresses
()
tests/test_types_net.py:164
Functiontest_enumerated_polymorphic
()
tests/test_polymodeltype.py:71
Functiontest_eq
()
tests/test_models.py:731
Functiontest_equality
()
tests/test_models.py:146
Functiontest_equality_against_derived_model
()
tests/test_equality.py:38
Functiontest_equality_against_mock_any
()
tests/test_equality.py:15
Functiontest_equality_against_same_model
()
tests/test_equality.py:23
Functiontest_equality_with_embedded_models
()
tests/test_model_type.py:109
Functiontest_error_eq
()
tests/test_exceptions.py:80
Functiontest_error_failures
()
tests/test_exceptions.py:106
Functiontest_error_from_args
()
tests/test_exceptions.py:23
Functiontest_error_from_error
()
tests/test_exceptions.py:35
Functiontest_error_from_message
()
tests/test_exceptions.py:31
Functiontest_error_from_mixed_args
()
tests/test_exceptions.py:39
Functiontest_error_from_mixed_list
()
tests/test_exceptions.py:51
Functiontest_error_from_string
()
tests/test_exceptions.py:9
Functiontest_error_from_tuple
()
tests/test_exceptions.py:27
Functiontest_error_list_conversion
()
tests/test_exceptions.py:75
Functiontest_error_message_object
()
tests/test_exceptions.py:87
Functiontest_error_str
()
tests/test_exceptions.py:63
Functiontest_exception_repr
(error)
tests/test_exceptions.py:102
Functiontest_exceptions_is_hashable
exceptions must be hashable, as the logging module expects this for log.exception()
tests/test_exceptions.py:166
Functiontest_explicit_values_override_defaults
()
tests/test_models.py:323
Functiontest_export_level
(models)
tests/test_export_level.py:63
Functiontest_export_level_override
(models)
tests/test_export_level.py:152
Functiontest_export_loop_with_subclassed_model
()
tests/test_model_type.py:146
Functiontest_export_order
()
tests/test_export.py:148
Functiontest_external_claim_function
()
tests/test_polymodeltype.py:88
Functiontest_fails_if_role_is_not_found
()
tests/test_serialize.py:640
Functiontest_field_binding
()
tests/test_binding.py:68
Functiontest_field_default
()
tests/test_models.py:280
Functiontest_field_has_default_value
()
tests/test_models.py:297
Functiontest_field_inheritance
()
tests/test_binding.py:117
Functiontest_field_with_serialize_when_none
()
tests/test_serialize.py:378
Functiontest_field_with_serialize_when_none_on_inner_only
()
tests/test_serialize.py:412
Functiontest_field_with_serialize_when_none_on_outer_only
()
tests/test_serialize.py:402
Functiontest_frozen_dict
()
tests/test_datastructures.py:139
Functiontest_frozen_list
()
tests/test_datastructures.py:157
Functiontest_functional_schema
(player_schema, player_data)
tests/test_schema.py:49
Functiontest_functional_schema_required
(player_schema)
tests/test_schema.py:44
Functiontest_geopoint_mock
()
tests/test_types.py:552
Functiontest_geopoint_range
()
tests/test_types.py:595
Functiontest_geopoint_to_native
()
tests/test_types.py:561
Functiontest_get
()
tests/test_models.py:683
Functiontest_get_all_subclasses
()
tests/test_polymodeltype.py:47
Functiontest_get_api_docstring
()
tests/test_model_help_text_mixin.py:79
Functiontest_get_example_usage
()
tests/test_model_help_text_mixin.py:50
Functiontest_get_helptext
()
tests/test_model_help_text_mixin.py:40
Functiontest_get_parameter_descriptions
()
tests/test_model_help_text_mixin.py:58
Functiontest_getitem
()
tests/test_models.py:694
Functiontest_good_options_args
()
tests/test_models.py:338
Functiontest_help_text_metadata
()
tests/test_model_help_text_mixin.py:23
Functiontest_id_or_uuid
()
tests/test_union_type.py:16
Functiontest_import_data
(init)
tests/test_import.py:15
Functiontest_import_data_with_error
(init)
tests/test_import.py:38
Functiontest_inheritance_based_polymorphic
()
tests/test_polymodeltype.py:55
Functiontest_init_model_from_another_model
()
tests/test_models.py:173
Functiontest_init_with_dict
()
tests/test_models.py:56
Functiontest_int
()
tests/test_types.py:196
Functiontest_int_strict
()
tests/test_types.py:212
Functiontest_int_validation
()
tests/test_types.py:306
Functiontest_invalid_args
()
tests/test_union_type.py:109
Functiontest_invalid_model_fail_validation
()
tests/test_models.py:119
Functiontest_invalid_models_validate_partially
()
tests/test_models.py:130
Functiontest_ip_type
()
tests/test_types_net.py:51
Functiontest_ipv4_type
()
tests/test_types_net.py:11
Functiontest_ipv6_type
()
tests/test_types_net.py:24
Functiontest_issue_453_list_model_field_recursive_import
()
tests/test_list_type.py:249
Functiontest_items
()
tests/test_models.py:656
Functiontest_iter
()
tests/test_models.py:665
Functiontest_keep_valid_data_after_multiple_validation
Validation MUST maintain a sane state after multiple operations. Valid data MUST NEVER be lost or overwritten.
tests/test_invariants.py:45
Functiontest_key_type
()
tests/test_dict_type.py:136
Functiontest_keys
()
tests/test_models.py:638
Functiontest_lazy_conversion_and_validation_exception_bundling
()
tests/test_validation.py:593
Functiontest_lazy_conversion_exception
()
tests/test_validation.py:583
Methodtest_list
(self)
examples/django/linkify/links/tests/integration_tests/test_links.py:83
Functiontest_list_coercion
()
tests/test_list_type.py:177
Functiontest_list_default_to_none_embedded_model
()
tests/test_list_type.py:78
Functiontest_list_defaults_to_none
()
tests/test_list_type.py:65
Functiontest_list_field
()
tests/test_list_type.py:13
Functiontest_list_field_convert
()
tests/test_list_type.py:168
Functiontest_list_field_required
()
tests/test_list_type.py:149
← previousnext →501–600 of 853, ranked by callers