from magicli.magicli import replace_short_options def test_short_argument(): kwargs = {'h': True} short_options = {'h': 'help'} assert replace_short_options(kwargs, short_options) == { 'help': True }