Message117753
Might it make sense to skip-decorate those tests which require cross-filesystem? Put a test above the TestMove definition which compares tempfile.gettempdir() and os.path.dirname(__file__).
I don't know of an out-of-the-box function to see if two paths are on the same filesystem; I suppose one approach would be to walk up the directory tree of each, checking ismount. (Looks like somebody's tried it: http://stackoverflow.com/questions/1138383/python-get-mount-point-on-windows-or-linux) |
|
Date |
User |
Action |
Args |
2010-09-30 17:01:59 | jniehof | set | recipients:
+ jniehof, tarek, r.david.murray |
2010-09-30 17:01:59 | jniehof | set | messageid: <1285866119.56.0.00897814598968.issue9999@psf.upfronthosting.co.za> |
2010-09-30 17:01:58 | jniehof | link | issue9999 messages |
2010-09-30 17:01:57 | jniehof | create | |
|