Message183331
There are actually three separate issues here:
1) The resources don't use unittest skip (or at least not always), so while running the tests without regrtests there are no indication that some tests have been skipped. This could be addressed by converting the current resources to proper skips (with something like @skip_unless_resource('network')) and shouldn't be too difficult.
2) The "network" resource could be enabled by default, given that network connectivity is nowadays fairly common (it would be even better if that was detected automatically at runtime). This would enable more tests and shouldn't have negative side-effects (unless the network is not available and the tests have no way to realize that and fail).
3) unittest could have a "resource API", but that's not strictly necessary if we still provide a way to run the skipped tests through regrtest and/or while running the test file individually. |
|
Date |
User |
Action |
Args |
2013-03-02 17:16:43 | ezio.melotti | set | recipients:
+ ezio.melotti, brett.cannon, rhettinger, eric.araujo, r.david.murray, sandro.tosi, chris.jerdonek |
2013-03-02 17:16:43 | ezio.melotti | set | messageid: <1362244603.3.0.278091132297.issue10967@psf.upfronthosting.co.za> |
2013-03-02 17:16:43 | ezio.melotti | link | issue10967 messages |
2013-03-02 17:16:43 | ezio.melotti | create | |
|