2010/4/1 anatoly techtonik: > 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?
Put it in unittest.TestCase.setUp() method. It should be enough. -- Florent _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com