tests.test_proxy

Module Contents

Classes

TestFakerProxyClass

Test Faker proxy class

class tests.test_proxy.TestFakerProxyClass

Test Faker proxy class

test_unspecified_locale()
test_locale_as_string()
test_locale_as_list()
test_locale_as_list_invalid_value_type()
test_locale_as_ordereddict()
test_invalid_locale()
test_items()
test_dunder_getitem()
test_seed_classmethod()
test_seed_class_locales()
test_seed_instance()
test_seed_locale()
test_single_locale_proxy_behavior()
test_multiple_locale_proxy_behavior()
test_multiple_locale_caching_behavior()
test_multiple_locale_factory_selection_no_weights(mock_factory_distribution, mock_factory_choice)
test_multiple_locale_factory_selection_with_weights(mock_factory_distribution, mock_factory_choice)
test_multiple_locale_factory_selection_single_provider(mock_factory_distribution, mock_factory_choice)
test_multiple_locale_factory_selection_shared_providers(mock_factory_distribution, mock_factory_choice)
test_multiple_locale_factory_selection_unsupported_method()
test_weighting_disabled_single_choice(mock_choices_fn, mock_choice_fn)
test_weighting_disabled_with_locales(mock_choices_fn, mock_choice_fn)
test_weighting_disabled_multiple_locales(mock_choices_fn, mock_choice_fn)
test_weighting_disabled_multiple_choices(mock_choices_fn, mock_choice_fn)
test_weighting_enabled_multiple_choices(mock_choices_fn, mock_choice_fn)
test_dir_include_all_providers_attribute_in_list()
test_copy()
test_pickle()