(self, tmp_path)
| 184 | |
| 185 | class TestDataSourceAbspath: |
| 186 | def test_ValidHTTP(self, tmp_path): |
| 187 | ds = datasource.DataSource(tmp_path) |
| 188 | _, netloc, upath, _, _, _ = urlparse(valid_httpurl()) |
| 189 | local_path = os.path.join(tmp_path, netloc, |
| 190 | upath.strip(os.sep).strip('/')) |
| 191 | assert_equal(local_path, ds.abspath(valid_httpurl())) |
| 192 | |
| 193 | def test_ValidFile(self, tmp_path): |
| 194 | ds = datasource.DataSource(tmp_path) |
no test coverage detected