(self)
| 50 | self.assertIsInstance(rn, browser.ModuleBrowserTreeItem) |
| 51 | |
| 52 | def test_close(self): |
| 53 | mb = self.mb |
| 54 | mb.top.destroy = Func() |
| 55 | mb.node.destroy = Func() |
| 56 | mb.close() |
| 57 | self.assertTrue(mb.top.destroy.called) |
| 58 | self.assertTrue(mb.node.destroy.called) |
| 59 | del mb.top.destroy, mb.node.destroy |
| 60 | |
| 61 | def test_is_browseable_extension(self): |
| 62 | path = "/path/to/file" |
nothing calls this directly
no test coverage detected