()
| 86 | |
| 87 | |
| 88 | def test_cell_magic_not_found(): |
| 89 | # magic not found raises UsageError |
| 90 | with nt.assert_raises(UsageError): |
| 91 | _ip.run_cell_magic('doesntexist', 'line', 'cell') |
| 92 | |
| 93 | # ensure result isn't success when a magic isn't found |
| 94 | result = _ip.run_cell('%%doesntexist') |
| 95 | assert isinstance(result.error_in_exec, UsageError) |
| 96 | |
| 97 | |
| 98 | def test_magic_error_status(): |
nothing calls this directly
no test coverage detected