faker_file.tests package

Submodules

faker_file.tests.data module

faker_file.tests.helpers module

faker_file.tests.helpers.docx_add_picture(provider, document, data, counter, **kwargs)[source]

Callable responsible for the picture generation.

faker_file.tests.helpers.docx_add_table(provider, document, data, counter, **kwargs)[source]

Callable responsible for the table generation.

faker_file.tests.helpers.odt_add_picture(provider, document, data, counter, **kwargs)[source]

Callable responsible for the picture generation.

faker_file.tests.helpers.odt_add_table(provider, document, data, counter, **kwargs)[source]

Callable responsible for the table generation.

faker_file.tests.helpers.pdf_pdfkit_add_picture(provider, document, data, counter, **kwargs)[source]

Callable responsible for the picture generation.

faker_file.tests.helpers.pdf_pdfkit_add_table(provider, document, data, counter, **kwargs)[source]

Callable responsible for the table generation.

faker_file.tests.helpers.pdf_reportlab_add_picture(provider, story, data, counter, **kwargs)[source]

Callable responsible for the picture generation when using reportlab PDF generator.

faker_file.tests.helpers.pdf_reportlab_add_table(provider, story, data, counter, **kwargs)[source]

Callable responsible for the table generation when using reportlab PDF generator.

faker_file.tests.test_augment_file_from_dir_provider module

faker_file.tests.test_base module

class faker_file.tests.test_base.TestStringListTestCase(methodName='runTest')[source]

Bases: TestCase

Test StringList test case.

test_string_list() None[source]

faker_file.tests.test_cli module

class faker_file.tests.test_cli.TestCLI(methodName='runTest')[source]

Bases: TestCase

CLI tests.

setUp()[source]

Set up.

test_cli
test_cli_error_no_provider() None[source]

Test CLI, no provider given.

test_cli_generate_completion() None[source]

Test CLI, generate-completion.

faker_file.tests.test_data_integrity module

faker_file.tests.test_django_integration module

class faker_file.tests.test_django_integration.DjangoIntegrationTestCase(methodName='runTest')[source]

Bases: TestCase

Django integration test case.

FAKER: Faker
test_file

faker_file.tests.test_providers module

class faker_file.tests.test_providers.ProvidersTestCase(methodName='runTest')[source]

Bases: TestCase

Providers test case.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_broken_imports
test_faker
test_faker_retry_failures
test_load_class_from_non_existing_path() None[source]

Test load_class_from_path invalid path.

test_load_class_from_path_class_not_found() None[source]

Test load_class_from_path class not found.

test_load_class_from_path_no_class_type() None[source]

Test load_class_from_path imported is not class.

test_mp3_file_generate_not_implemented_exception()[source]
test_pdf_file_generate_not_implemented_exception()[source]
test_raw_standalone_providers
test_raw_standalone_providers_allow_failures
test_raw_standalone_providers_retry_failures
test_standalone_providers
test_standalone_providers_allow_failures
test_standalone_providers_retry_failures
test_standalone_tar_file
test_standalone_tar_file_allow_failures
test_standalone_zip_file
test_standalone_zip_file_allow_failures

faker_file.tests.test_sqlalchemy_integration module

faker_file.tests.test_storages module

class faker_file.tests.test_storages.TestStoragesTestCase(methodName='runTest')[source]

Bases: TestCase

Test storages.

test_base_storage_exceptions
test_cloud_storage_exceptions
test_file_system_storage_abspath() None[source]

Test FileSystemStorage abspath.

test_pathy_file_system_storage_abspath() None[source]

Test PathyFileSystemStorage abspath.

test_storage
test_storage_generate_filename_exceptions
test_storage_initialization_exceptions

faker_file.tests.texts module

Module contents