def test_show_plugins(self): sys.stdout = StringIO() try: config.show_plugins() finally: sys.stdout = sys.__stdout__