Paste input text, by default in quiet mode
(self, txt, flags='-q')
| 80 | """Multiple tests for clipboard pasting""" |
| 81 | |
| 82 | def paste(self, txt, flags='-q'): |
| 83 | """Paste input text, by default in quiet mode""" |
| 84 | ip.hooks.clipboard_get = lambda : txt |
| 85 | ip.magic('paste '+flags) |
| 86 | |
| 87 | def setUp(self): |
| 88 | # Inject fake clipboard hook but save original so we can restore it later |
no test coverage detected