• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

joke2k / faker / 3129 / 9
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 04 Nov 2020 11:08PM UTC
Files 0
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Nov 2020 08:59PM UTC coverage: 0.0%. Remained the same
TOXENV=32bit TEST_32BIT=1

push

travis-ci

web-flow
Fix generation of names ending with spaces (and more) (#1312)

* Test for checking the formats defined in providers

For each locale, for each provider, search all the definitions of "formats"
and make sure that all the providers in there (e.g. {{group}}) are valid
and do not emit empty strings. Empty strings are allows only if the group
is not surrounded by spaces. This is a quick way to make sure that no
string is generated with "double spaces", starting spaces or ending spaces.

* Remove buggy formats

Those formats have been found by test_providers_formats.py:

```
test_no_invalid_formats[de_AT]
E       AssertionError: Errors:
E          - Attribute {{suffix_male}} provided an invalid value in format '{{first_name_male}} {{last_name}} {{suffix_male}}' from faker.providers.person.de_AT.formats
E          - Attribute {{suffix_male}} provided an invalid value in format '{{prefix_male}} {{first_name_male}} {{last_name}} {{suffix_male}}' from faker.providers.person.de_AT.formats
E          - Attribute {{suffix_female}} provided an invalid value in format '{{first_name_female}} {{last_name}} {{suffix_female}}' from faker.providers.person.de_AT.formats
E          - Attribute {{suffix_female}} provided an invalid value in format '{{prefix_female}} {{first_name_female}} {{last_name}} {{suffix_female}}' from faker.providers.person.de_AT.formats

test_no_invalid_formats[fa_IR]
E       AssertionError: Errors:
E          - Attribute {{suffix}} provided an invalid value in format '{{first_name_female}} {{last_name}} {{suffix}}' from faker.providers.person.fa_IR.formats
E          - Attribute {{suffix}} provided an invalid value in format '{{prefix_female}} {{first_name_female}} {{last_name}} {{suffix}}' from faker.providers.person.fa_IR.formats
E          - Attribute {{suffix}} provided an invalid value in format '{{first_name_male}} {{last_name}} {{suffix}}' from faker.providers.person.fa_IR.formats
E          - Attribute {{suffix}} pr... (continued)

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Source Files on job 3129.9 (TOXENV=32bit TEST_32BIT=1)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2955
  • Travis Job 3129.9
  • 4ffbcb95 on github
  • Prev Job for TOXENV=32bit TEST_32BIT=1 on master (#3127.9)
  • Next Job for TOXENV=32bit TEST_32BIT=1 on master (#3130.9)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc