use safe args

This commit is contained in:
Erica Portnoy 2018-09-20 20:12:51 -07:00
parent faa44070f5
commit eb7a10b5c0

View file

@ -271,7 +271,7 @@ class RevokeTest(test_util.TempDirTestCase):
for patch in self.patches:
patch.stop()
def _call(self, args=[]):
def _call(self, args=None):
if not args:
args = 'revoke --cert-path={0} '
args = args.format(self.tmp_cert_path).split()