#17 Selftest: Enable "resources" and skip less tests
Opened 4 years ago by churchyard. Modified 4 years ago

During the Python 3.9 selftest in the Fedora CI, we can see:

test_ossaudiodev skipped -- Use of the 'audio' resource not enabled
test_winsound skipped -- Use of the 'audio' resource not enabled

test_curses skipped -- Use of the 'curses' resource not enabled

test_tix skipped -- Use of the 'gui' resource not enabled
test_tk skipped -- Use of the 'gui' resource not enabled
test_ttk_guionly skipped -- Use of the 'gui' resource not enabled

test_smtpnet skipped -- Use of the 'network' resource not enabled
test_socketserver skipped -- Use of the 'network' resource not enabled
test_timeout skipped -- Use of the 'network' resource not enabled
test_urllib2net skipped -- Use of the 'network' resource not enabled
test_urllibnet skipped -- Use of the 'network' resource not enabled
test_xmlrpc_net skipped -- Use of the 'network' resource not enabled

We should be able to enable most of those:

  • audio: not sure
  • curses: should work out of the box
  • gui: should work with xvfb
  • network: means internet, should work out of the box

To enable the resources, we can use -u all; to disable some, we can use -u all,-audio.


Login to comment on this ticket.

Metadata
Related Pull Requests
  • #18 Last updated 4 years ago