MCPcopy Create free account
hub / github.com/ipython/traitlets / TestMultiAliasApp

Class TestMultiAliasApp

tests/config/test_application.py:369–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367 def test_aliases_multiple(self):
368 # Test multiple > 2 aliases for the same argument
369 class TestMultiAliasApp(Application):
370 foo = Integer(config=True)
371 aliases = {("f", "bar", "qux"): "TestMultiAliasApp.foo"}
372
373 app = TestMultiAliasApp()
374 app.parse_command_line(["-f", "3"])

Callers 1

test_aliases_multipleMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_aliases_multipleMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…