(self)
| 201 | assert_equal(local_path, self.ds.abspath(valid_httpurl())) |
| 202 | |
| 203 | def test_ValidFile(self): |
| 204 | tmpfile = valid_textfile(self.tmpdir) |
| 205 | tmpfilename = os.path.split(tmpfile)[-1] |
| 206 | # Test with filename only |
| 207 | assert_equal(tmpfile, self.ds.abspath(tmpfilename)) |
| 208 | # Test filename with complete path |
| 209 | assert_equal(tmpfile, self.ds.abspath(tmpfile)) |
| 210 | |
| 211 | def test_InvalidHTTP(self): |
| 212 | scheme, netloc, upath, pms, qry, frg = urlparse(invalid_httpurl()) |
no test coverage detected