(self)
| 175 | self.assertEqual(tv.showerror.title, 'File Load Error') |
| 176 | |
| 177 | def test_bad_encoding(self): |
| 178 | p = os.path |
| 179 | fn = p.abspath(p.join(p.dirname(__file__), '..', 'CREDITS.txt')) |
| 180 | view = tv.view_file(root, 'Title', fn, 'ascii', modal=False) |
| 181 | self.assertIsNone(view) |
| 182 | self.assertEqual(tv.showerror.title, 'Unicode Decode Error') |
| 183 | |
| 184 | def test_nowrap(self): |
| 185 | view = tv.view_text(root, 'Title', 'test', modal=False, wrap='none') |
nothing calls this directly
no test coverage detected