Handle shell_completion option in test suite
Since [1], oslo.config has added option to generate shell completion. This patch adapts unit tests to handle it. [1] https://review.opendev.org/c/openstack/oslo.config/+/906478 Change-Id: I167d7e552194b87edff8d6b6de9e721e091bfd36
This commit is contained in:
parent
a0cde11455
commit
a25f36fa66
@ -112,7 +112,8 @@ class TestOpenstackGenerators(base.BaseTestCase):
|
|||||||
'default: \n'
|
'default: \n'
|
||||||
'%s'
|
'%s'
|
||||||
' crackers = triscuit\n'
|
' crackers = triscuit\n'
|
||||||
' secrets = ***') % config_source_line
|
' secrets = ***\n'
|
||||||
|
' shell_completion = None') % config_source_line
|
||||||
self.assertEqual(target_str, str(model))
|
self.assertEqual(target_str, str(model))
|
||||||
|
|
||||||
def test_package_report_generator(self):
|
def test_package_report_generator(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user