Open sebix opened 2 years ago
I face the issue also:
> assert option_line in out, "Usage string is missing {}".format(option_line)
E AssertionError: Usage string is missing [file [file ...]]
E assert '[file [file ...]]' in 'usage: bumpversion [-h] [--config-file FILE] [--verbose] [--list]\n [--allow-d
irty] [--parse REGEX]...→ {new_version})\n --commit-args COMMIT_ARGS\n Extra arguments to commit command (default:
)\n'
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/tests/test_cli.py:183: AssertionError
...
> assert "[file [file ...]]" in out
E AssertionError: assert '[file [file ...]]' in 'usage: bumpversion [-h] [--config-file FILE] [--verbose] [--list]\n
[--allow-dirty] [--parse REGEX]...→ {new_version})\n --commit-args COMMIT_ARGS\n Extra arguments to commit comman
d (default: )\n'
In our build environment for openSUSE packages, I get this test fail:
Using version 1.0.1 I already applied 1c4f04b6ab90f6d432b6c4117e0de38b006a5de5 to fix the test_usage_string test fail too.