(self)
| 171 | assert_equal(self.ds.exists(invalid_httpurl()), False) |
| 172 | |
| 173 | def test_ValidFile(self): |
| 174 | # Test valid file in destpath |
| 175 | tmpfile = valid_textfile(self.tmpdir) |
| 176 | assert_(self.ds.exists(tmpfile)) |
| 177 | # Test valid local file not in destpath |
| 178 | localdir = mkdtemp() |
| 179 | tmpfile = valid_textfile(localdir) |
| 180 | assert_(self.ds.exists(tmpfile)) |
| 181 | rmtree(localdir) |
| 182 | |
| 183 | def test_InvalidFile(self): |
| 184 | tmpfile = invalid_textfile(self.tmpdir) |
nothing calls this directly
no test coverage detected