MCPcopy Create free account
hub / github.com/ipython/ipython / test_config

Function test_config

IPython/core/tests/test_magic.py:106–113  ·  view source on GitHub ↗

test that config magic does not raise can happen if Configurable init is moved too early into Magics.__init__ as then a Config object will be registered as a magic.

()

Source from the content-addressed store, hash-verified

104
105
106def test_config():
107 """ test that config magic does not raise
108 can happen if Configurable init is moved too early into
109 Magics.__init__ as then a Config object will be registered as a
110 magic.
111 """
112 ## should not raise.
113 _ip.magic('config')
114
115def test_config_available_configs():
116 """ test that config magic prints available configs in unique and

Callers

nothing calls this directly

Calls 1

magicMethod · 0.45

Tested by

no test coverage detected