(filedir)
| 55 | |
| 56 | |
| 57 | def invalid_textfile(filedir): |
| 58 | # Generate and return an invalid filename. |
| 59 | fd, path = mkstemp(suffix='.txt', prefix='dstmp_', dir=filedir) |
| 60 | os.close(fd) |
| 61 | os.remove(path) |
| 62 | return path |
| 63 | |
| 64 | |
| 65 | def valid_httpurl(): |
no test coverage detected