Skip to content

Commit

Permalink
Fix pylint error for cmdline()
Browse files Browse the repository at this point in the history
  • Loading branch information
Shrews committed Sep 14, 2023
1 parent 0da7ef0 commit a4095a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration/test___main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ def random_json(keys=None):


def cmdline(command, *args):
cmdline = ['ansible-runner', command]
cmdline.extend(args)
sys.argv = cmdline
cmd = ['ansible-runner', command]
cmd.extend(args)
sys.argv = cmd


def test_main_bad_private_data_dir():
Expand Down

0 comments on commit a4095a5

Please sign in to comment.