Skip to content

v1.0.1: Non-ASCII folder name fix

Choose a tag to compare

@golikovichev golikovichev released this 15 May 23:17
· 64 commits to main since this release

Fixed

  • Non-ASCII folder names (Cyrillic, Chinese, Arabic, accented Latin) no longer produce empty test name prefixes that silently collide. Folder slugs are now transliterated via unidecode so Заказы becomes zakazy in the generated function name. Closes #3.
  • Test names that would still collide after slugification (for example several requests in the same folder sharing an HTTP method and missing the Postman name field) now receive a _1 / _2 / _N suffix so every parsed request maps to a unique pytest function. The parser emits a warning per affected base name.

Added

  • unidecode>=1.3,<2 runtime dependency for ASCII transliteration.
  • 12 unit tests covering Cyrillic, Chinese, accented Latin, empty input, punctuation-only input, no-collision passthrough, and the exact issue #3 reproduction.