New version of pytest(?) breaking tests for molecule
Good morning, molecule started failing some days ago: https://build.opensuse.org/package/show/systemsmanagement:ansible/molecule Apparently the reason is that pytest (?) is no longer accepting the names used by the tests: Examples:
[ 14s] Duplicate test name 'test_init_calls_setup', found at src/molecule/test/a_unit/command/test_base.py:93 and src/molecule/test/a_unit/test_scenario.py:81
[ 14s] Test <Function test_command_check[driver/delegated-default-default]> has an id that does not match our safe pattern '^[\w_\-\.]+$' for use with a terminal.
I found no trace of this error message in pytest's code, hence my question, if someone knows if I can disable these strict checks? I'll report the issue upstream, so they are aware of potential breakage, but until then I would like to fix the package... Sorry if this something obvious, I am not that deep into python and python packages, so I did not come across this yet... :-) Kind Regards, Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
Am Freitag, 10. November 2023, 07:58:36 CET schrieb Johannes Kastl: Hi Johannes,
molecule started failing some days ago: https://build.opensuse.org/package/show/systemsmanagement:ansible/molecule
See https://github.com/ansible/molecule/commit/ 4ab4f1c76fca978485ba63c67c944c489277aa0d For the upstream fix. Greetings, Dirk
On 10.11.23 at 13:31 Dirk Müller wrote:
Am Freitag, 10. November 2023, 07:58:36 CET schrieb Johannes Kastl:
Hi Johannes,
molecule started failing some days ago: https://build.opensuse.org/package/show/systemsmanagement:ansible/molecule
See https://github.com/ansible/molecule/commit/ 4ab4f1c76fca978485ba63c67c944c489277aa0d
For the upstream fix.
Thanks, Dirk! Patch was added, built successfully locally and will get submitted as soon as OBS is happy...
https://build.opensuse.org/package/show/home:ojkastl_buildservice:Branch_sys...
Have a nice week, everyone! Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
participants (2)
-
Dirk Müller
-
Johannes Kastl