A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-April/099034.html below:

[Python-Dev] skip all TestCase methods if resource is not available

[Python-Dev] skip all TestCase methods if resource is not available [Python-Dev] skip all TestCase methods if resource is not availableanatoly techtonik techtonik at gmail.com
Thu Apr 1 18:40:19 CEST 2010
Currently it is possible to mark individual test methods with:
            test_support.requires('network')

However, sometimes it is necessary to skip the whole TestCase if
'network' resource is not available counting the number of skipped
tests at the same time. Are there any standard means to do this?
-- 
anatoly t.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4