https://bugzilla.redhat.com/show_bug.cgi?id=1503175
--- Comment #22 from Miro Hrončok mhroncok@redhat.com --- (In reply to Aivar Annamaa from comment #21)
(In reply to Miro Hrončok from comment #20)
You might want to look at Xvfb. This seams relevant https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ thread/N7OW5LPNJUGFHATFTNHJZC7W4V772H4O/
Thanks! This did the trick:
%check xvfb-run py.test-3 --pyargs thonny
Awesome!
When I install the package and run `py.test-3 --pyargs thonny` manually in Terminal, then all tests pass.
When I do that, it collects 0 tests. What is the exact step by step guide?
- sudo dnf install RPMS/noarch/thonny-2.1.16-1.fc27.noarch.rpm
- py.test-3 --pyargs thonny
Did you try it with package version 2.1.16? The older stdists didn't include the tests yet.
Oh, ok, with 2.1.16 it really collects and work.
I declare this package preliminarily approved. Good work.