()
| 1042 | nt.assert_equal(oinfo['docstring'], FooFoo.line_foo.__doc__) |
| 1043 | |
| 1044 | def test_multiple_magics(): |
| 1045 | ip = get_ipython() |
| 1046 | foo1 = FooFoo(ip) |
| 1047 | foo2 = FooFoo(ip) |
| 1048 | mm = ip.magics_manager |
| 1049 | mm.register(foo1) |
| 1050 | nt.assert_true(mm.magics['line']['foo'].__self__ is foo1) |
| 1051 | mm.register(foo2) |
| 1052 | nt.assert_true(mm.magics['line']['foo'].__self__ is foo2) |
| 1053 | |
| 1054 | def test_alias_magic(): |
| 1055 | """Test %alias_magic.""" |
nothing calls this directly
no test coverage detected