Hi, the new version of onionshare gives me some headaches. While the build succeeded and was already test in a TW system, it suddenly fails: <https://build.opensuse.org/package/live_build_log/ home:DocB:branches:devel:languages:python/python-onionshare/ openSUSE_Tumbleweed/x86_64> apparently in TestShare.test_large_download Can I disable this test somehow? Thanks Axel
Hi Axel, Axel Braun <axel.braun@gmx.de> writes:
Hi,
the new version of onionshare gives me some headaches. While the build succeeded and was already test in a TW system, it suddenly fails:
<https://build.opensuse.org/package/live_build_log/ home:DocB:branches:devel:languages:python/python-onionshare/ openSUSE_Tumbleweed/x86_64>
apparently in TestShare.test_large_download
Can I disable this test somehow?
As onionshare uses pytest, you should be able to exclude individual tests using the "-k 'not pattern not other_pattern'" syntax, as described here: https://stackoverflow.com/a/47719505 Cheers, Dan -- Dan Čermák <dcermak@suse.com> Software Engineer Development tools SUSE Software Solutions Germany GmbH Maxfeldstr. 5 90409 Nuremberg Germany (HRB 36809, AG Nürnberg) Managing Director: Felix Imendörffer
Hello Dan, [resending - there seem to be issues with GMX...] Am Dienstag, 8. Juni 2021, 09:20:16 CEST schrieben Sie:
the new version of onionshare gives me some headaches. While the build succeeded and was already test in a TW system, it suddenly fails:
<https://build.opensuse.org/package/live_build_log/ home:DocB:branches:devel:languages:python/python-onionshare/ openSUSE_Tumbleweed/x86_64>
apparently in TestShare.test_large_download
Can I disable this test somehow?
As onionshare uses pytest, you should be able to exclude individual tests using the "-k 'not pattern not other_pattern'" syntax, as described here: https://stackoverflow.com/a/47719505
That helped, thanks! The package is finally on the way to Factory! Cheers Axel
Dne 09. 06. 21 v 16:37 Axel Braun napsal(a):
As onionshare uses pytest, you should be able to exclude individual tests using the "-k 'not pattern not other_pattern'" syntax, as described here: https://stackoverflow.com/a/47719505
Or perhaps more readable pytest -k 'not (pattern1 or pattern2)' Matěj -- https://matej.ceplovi.cz/blog/, Jabber: mcepl@ceplovi.cz GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 I must not fear. // Fear is the mind-killer. // Fear is the little-death that brings total obliteration. // I will face my fear. // I will permit it to pass over me and through me. // And when it has gone past I will turn the inner eye to see its path. // Where the fear has gone there will be nothing. // Only I will remain. -- Dune
participants (3)
-
Axel Braun
-
Dan Čermák
-
Matěj Cepl