(self, tmp_path)
| 302 | |
| 303 | class TestOpenFunc: |
| 304 | def test_DataSourceOpen(self, tmp_path): |
| 305 | local_file = valid_textfile(tmp_path) |
| 306 | # Test case where destpath is passed in |
| 307 | fp = datasource.open(local_file, destpath=tmp_path) |
| 308 | assert_(fp) |
| 309 | fp.close() |
| 310 | # Test case where default destpath is used |
| 311 | fp = datasource.open(local_file) |
| 312 | assert_(fp) |
| 313 | fp.close() |
| 314 | |
| 315 | def test_del_attr_handling(): |
| 316 | # DataSource __del__ can be called |
nothing calls this directly
no test coverage detected