Remove unused test code in test_util.py

This doesn't seem to do anything

Change-Id: Ieba6b5f7229680146f9b3f2ae2f3f2d2b1354376
This commit is contained in:
Angus Salkeld
2013-05-08 16:44:32 +10:00
parent 765c9ad95c
commit 2f6e53a129

View File

@@ -29,11 +29,6 @@ class UtilsTest(unittest2.TestCase):
self.__dict__.update(entries)
# test that the prettytable output is wellformatted (left-aligned)
columns = ['ID', 'Name']
val = ['Name1', 'another', 'veeeery long']
images = [Struct(**{'id': i ** 16, 'name': val[i]})
for i in range(len(val))]
saved_stdout = sys.stdout
try:
sys.stdout = output_dict = cStringIO.StringIO()