Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (5 sloc) 192 Bytes
from click.testing import CliRunner
from cli_env import cli
def test_cli():
result = CliRunner(env={'NAME': 'hoge'}).invoke(cli, args=['--age=1'])
assert 'hoge 1\n' == result.output
You can’t perform that action at this time.