test-install : python 2.6 compatibility

This commit is contained in:
Massimiliano Culpo 2016-04-27 18:21:36 +02:00
parent ec5bb88820
commit 4846ab70d8

View File

@ -117,6 +117,7 @@ def __init__(self, package):
self.output = None
# TODO: add test(s) where Y fails to install
class TestInstallTest(unittest.TestCase):
"""
Tests test-install where X->Y
@ -187,5 +188,3 @@ def test_dependency_already_installed(self):
self.assertTrue('failures="0"' in content)
self.assertTrue('errors="0"' in content)
self.assertEqual(sum('skipped' in line for line in content.split('\n')), 2)
#TODO: add test(s) where Y fails to install