Merge "Don't use default mutable parameter"

This commit is contained in:
Zuul 2019-04-30 06:09:40 +00:00 committed by Gerrit Code Review
commit de9d2de1bb
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class BaseCommandTest(base.BaseTestCase):
self.app = mock.Mock()
self.client = self.app.client_manager.workflow_engine
def call(self, command, app_args=[], prog_name=''):
def call(self, command, app_args=(), prog_name=''):
cmd = command(self.app, app_args)
parsed_args = cmd.get_parser(prog_name).parse_args(app_args)