Magic.parse_options can handle --foo=bar long options
()
| 166 | nt.assert_equal(opts['f'], expected) |
| 167 | |
| 168 | def test_magic_parse_long_options(): |
| 169 | """Magic.parse_options can handle --foo=bar long options""" |
| 170 | ip = get_ipython() |
| 171 | m = DummyMagics(ip) |
| 172 | opts, _ = m.parse_options('--foo --bar=bubble', 'a', 'foo', 'bar=') |
| 173 | nt.assert_in('foo', opts) |
| 174 | nt.assert_in('bar', opts) |
| 175 | nt.assert_equal(opts['bar'], "bubble") |
| 176 | |
| 177 | |
| 178 | @dec.skip_without('sqlite3') |
nothing calls this directly
no test coverage detected