Skip decorator for tests that require functional symlink
(test)
| 193 | |
| 194 | |
| 195 | def skip_unless_symlink(test): |
| 196 | """Skip decorator for tests that require functional symlink""" |
| 197 | ok = can_symlink() |
| 198 | msg = "Requires functional symlink implementation" |
| 199 | return test if ok else unittest.skip(msg)(test) |
| 200 | |
| 201 | |
| 202 | _can_hardlink = None |
nothing calls this directly
no test coverage detected
searching dependent graphs…