[Python-Dev] skip all TestCase methods if resource is not available (original) (raw)
anatoly techtonik techtonik at gmail.com
Thu Apr 1 18:40:19 CEST 2010
- Previous message: [Python-Dev] Replacing threads with swapcontext()
- Next message: [Python-Dev] skip all TestCase methods if resource is not available
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [Python-Dev] Replacing threads with swapcontext()
- Next message: [Python-Dev] skip all TestCase methods if resource is not available
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]