From 11799ae648355960bdf75fe29e2bb01233f7f17b Mon Sep 17 00:00:00 2001 From: Giampaolo Lauria Date: Tue, 29 Jan 2013 12:54:20 -0500 Subject: [PATCH] Removed print stmts in test cases Fixes bug 1108978 Change-Id: I5113e67bad1aaafdbaa0adc202cac97ba8d0dfdb --- nova/tests/test_imagecache.py | 1 - nova/tests/test_libvirt.py | 1 - nova/tests/test_virt_disk_vfs_localfs.py | 1 - 3 files changed, 3 deletions(-) diff --git a/nova/tests/test_imagecache.py b/nova/tests/test_imagecache.py index 8142312b..61151951 100644 --- a/nova/tests/test_imagecache.py +++ b/nova/tests/test_imagecache.py @@ -331,7 +331,6 @@ class ImageCacheManagerTestCase(test.TestCase): base_file1 = os.path.join(base_dir, fingerprint) base_file2 = os.path.join(base_dir, fingerprint + '_sm') base_file3 = os.path.join(base_dir, fingerprint + '_10737418240') - print res self.assertTrue(res == [(base_file1, False, False), (base_file2, True, False), (base_file3, False, True)]) diff --git a/nova/tests/test_libvirt.py b/nova/tests/test_libvirt.py index f9653689..5a90f334 100644 --- a/nova/tests/test_libvirt.py +++ b/nova/tests/test_libvirt.py @@ -3833,7 +3833,6 @@ class IptablesFirewallTestCase(test.TestCase): if '*filter' in lines: self.out6_rules = lines return '', '' - print cmd, kwargs network_model = _fake_network_info(self.stubs, 1, spectacular=True) diff --git a/nova/tests/test_virt_disk_vfs_localfs.py b/nova/tests/test_virt_disk_vfs_localfs.py index 806ed01d..af4571dd 100644 --- a/nova/tests/test_virt_disk_vfs_localfs.py +++ b/nova/tests/test_virt_disk_vfs_localfs.py @@ -104,7 +104,6 @@ def fake_execute(*args, **kwargs): else: path = args[1] append = False - print str(files) if not path in files: files[path] = { "content": "Hello World",