Skip to content

Commit dbb0789

Browse files
committed
Test updates for type=
1 parent a0a536d commit dbb0789

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/test_cli.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,10 @@ def test_scan_config_arg(homedir, configdir, projectdir, monkeypatch):
223223

224224
@click.command()
225225
@click.argument(
226-
'config', click.Path(exists=True), nargs=-1, callback=cli.scan_config_argument
226+
'config',
227+
type=click.Path(exists=True),
228+
nargs=-1,
229+
callback=cli.scan_config_argument,
227230
)
228231
def config_cmd(config):
229232
click.echo(config)
@@ -523,7 +526,7 @@ def test_create_scan_config_arg(tmpdir):
523526

524527
@click.command()
525528
@click.argument(
526-
'config', click.Path(exists=True), nargs=-1, callback=my_scan_config
529+
'config', type=click.Path(exists=True), nargs=-1, callback=my_scan_config
527530
)
528531
def config_cmd(config):
529532
click.echo(config)

0 commit comments

Comments
 (0)