(self, tmp_path)
| 166 | assert_equal(ds.exists(invalid_httpurl()), False) |
| 167 | |
| 168 | def test_ValidFile(self, tmp_path): |
| 169 | # Test valid file in destpath |
| 170 | ds = datasource.DataSource(tmp_path) |
| 171 | tmpfile = valid_textfile(tmp_path) |
| 172 | assert_(ds.exists(tmpfile)) |
| 173 | # Test valid local file not in destpath |
| 174 | localdir = mkdtemp() |
| 175 | tmpfile = valid_textfile(localdir) |
| 176 | assert_(ds.exists(tmpfile)) |
| 177 | rmtree(localdir) |
| 178 | |
| 179 | def test_InvalidFile(self, tmp_path): |
| 180 | ds = datasource.DataSource(tmp_path) |
nothing calls this directly
no test coverage detected