(self)
| 215 | assert_(invalidhttp != self.ds.abspath(valid_httpurl())) |
| 216 | |
| 217 | def test_InvalidFile(self): |
| 218 | invalidfile = valid_textfile(self.tmpdir) |
| 219 | tmpfile = valid_textfile(self.tmpdir) |
| 220 | tmpfilename = os.path.split(tmpfile)[-1] |
| 221 | # Test with filename only |
| 222 | assert_(invalidfile != self.ds.abspath(tmpfilename)) |
| 223 | # Test filename with complete path |
| 224 | assert_(invalidfile != self.ds.abspath(tmpfile)) |
| 225 | |
| 226 | def test_sandboxing(self): |
| 227 | tmpfile = valid_textfile(self.tmpdir) |
no test coverage detected