10 lines
226 B
Python
10 lines
226 B
Python
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
|
|
}
|