예제 #1
0
 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')
예제 #2
0
 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')