Merge "Add none test case to shell_args_list"

This commit is contained in:
Zuul 2020-02-04 15:06:32 +00:00 committed by Gerrit Code Review
commit 8bf5e779a5
1 changed files with 4 additions and 0 deletions

View File

@ -37,3 +37,7 @@ class TestShellArgsFilters(tests_base.TestCase):
expected = '--p a --p b'
self.assertEqual(expected,
self.filter.shell_arg_list(arg, parameter='--p'))
def test_shell_arg_list_none(self):
expected = ''
self.assertEqual(expected, self.filter.shell_arg_list(None))