def test_show_installed(self): dotconf = DotConfig('/'.join((HERE, 'testfiles', 'htdocs', 'horde'))) dotconf.show_installed() output = sys.stdout.getvalue().split('\n') self.assertEqual(output[0], 'horde 3.0.5')