tests.providers.test_lorem
¶
Module Contents¶
Classes¶
Test lorem provider methods |
|
Test cs_CZ lorem provider |
|
Test az_AZ lorem provider |
|
Test fa_IR lorem provider |
|
Test bn_BD lorem provider |
|
Test |
|
Test |
|
Test |
- class tests.providers.test_lorem.TestLoremProvider¶
Test lorem provider methods
- custom_word_list = ['danish', 'cheesecake', 'sugar', 'lollipop', 'wafer', 'gummies', 'jelly', 'pie']¶
- test_word_with_defaults(faker, num_samples)¶
- test_word_with_custom_list(faker, num_samples)¶
- test_words_with_zero_nb(faker, num_samples)¶
- test_words_with_defaults(faker, num_samples)¶
- test_words_with_custom_word_list(faker, num_samples)¶
- test_words_with_unique_sampling(faker, num_samples)¶
- test_sentence_no_words(faker, num_samples)¶
- test_sentence_with_inexact_word_count(faker, num_samples)¶
- test_sentence_with_exact_word_count(faker, num_samples)¶
- test_sentence_with_custom_word_list(faker, num_samples)¶
- test_sentences(faker, num_samples)¶
- test_sentence_single_word(faker)¶
- test_paragraph_no_sentences(faker, num_samples)¶
- test_paragraph_with_inexact_sentence_count(faker, num_samples)¶
- test_paragraph_with_exact_sentence_count(faker, num_samples)¶
- test_paragraph_with_custom_word_list(faker, num_samples)¶
- test_paragraphs(faker, num_samples)¶
- test_text_with_less_than_four_characters(faker, num_samples)¶
- test_text_with_valid_character_count(faker, num_samples, num_chars)¶
- test_text_with_custom_word_list(faker, num_samples)¶
- test_texts(faker, num_samples)¶
- test_words_part_of_speech(faker, nb, part_of_speech)¶
- test_words_invalid_part_of_speech(faker, nb, part_of_speech)¶
- test_words_part_of_speech_ignored(faker, nb, part_of_speech)¶
- class tests.providers.test_lorem.TestCsCz¶
Test cs_CZ lorem provider
- word_list¶
- test_paragraph(faker, num_samples)¶
- test_paragraphs(faker, num_samples)¶
- test_sentence(faker, num_samples)¶
- test_sentences(faker, num_samples)¶
- test_text(faker, num_samples)¶
- test_texts(faker, num_samples)¶
- test_word(faker, num_samples)¶
- test_words(faker, num_samples)¶
- class tests.providers.test_lorem.TestAzAz¶
Test az_AZ lorem provider
- word_list¶
- test_paragraph(faker, num_samples)¶
- test_paragraphs(faker, num_samples)¶
- test_sentence(faker, num_samples)¶
- test_sentences(faker, num_samples)¶
- test_text(faker, num_samples)¶
- test_texts(faker, num_samples)¶
- test_word(faker, num_samples)¶
- test_words(faker, num_samples)¶
- class tests.providers.test_lorem.TestFaIr¶
Test fa_IR lorem provider
- word_list¶
- test_paragraph(faker, num_samples)¶
- test_paragraphs(faker, num_samples)¶
- test_sentence(faker, num_samples)¶
- test_sentences(faker, num_samples)¶
- test_text(faker, num_samples)¶
- test_texts(faker, num_samples)¶
- test_word(faker, num_samples)¶
- test_words(faker, num_samples)¶
- class tests.providers.test_lorem.TestBnBd¶
Test bn_BD lorem provider
- word_list¶
- test_paragraph(faker, num_samples)¶
- test_paragraphs(faker, num_samples)¶
- test_sentence(faker, num_samples)¶
- test_sentences(faker, num_samples)¶
- class tests.providers.test_lorem.TestDeDe¶
Test
`de_DE`
lorem provider- word_list¶
- test_paragraph(faker, num_samples)¶
- test_paragraphs(faker, num_samples)¶
- test_sentence(faker, num_samples)¶
- test_sentences(faker, num_samples)¶
- test_text(faker, num_samples)¶
- test_texts(faker, num_samples)¶
- test_word(faker, num_samples)¶
- test_words(faker, num_samples)¶
- class tests.providers.test_lorem.TestDeAt¶
Test
`de_AT`
lorem provider- word_list¶
- test_paragraph(faker, num_samples)¶
- test_paragraphs(faker, num_samples)¶
- test_sentence(faker, num_samples)¶
- test_sentences(faker, num_samples)¶
- test_text(faker, num_samples)¶
- test_texts(faker, num_samples)¶
- test_word(faker, num_samples)¶
- test_words(faker, num_samples)¶
- class tests.providers.test_lorem.TestNlBe¶
Test
`nl_BE`
lorem providerCopied from the TestDeDe class, but with the word_list from the NlBeLoremProvider.
- word_list¶
- test_paragraph(faker, num_samples)¶
- test_paragraphs(faker, num_samples)¶
- test_sentence(faker, num_samples)¶
- test_sentences(faker, num_samples)¶
- test_text(faker, num_samples)¶
- test_texts(faker, num_samples)¶
- test_word(faker, num_samples)¶
- test_words(faker, num_samples)¶