Remove debug print statements from tests

Added by me in commit ae93f9f

Change-Id: Idfaedd01be77b41f049cff7e40da65dd5831b091
This commit is contained in:
Mark McLoughlin 2013-04-22 17:19:14 +01:00
parent fc8ca59c8f
commit 2031b32456

View File

@ -2148,7 +2148,6 @@ class TildeExpansionTestCase(BaseTestCase):
try:
self.conf(['--config-file', os.path.join('~', tmpbase)])
except ConfigFilesNotFoundError as cfnfe:
print(cfnfe)
self.assertTrue(homedir in str(cfnfe))
self.stubs.Set(os.path, 'exists', lambda p: p == tmpfile)
@ -2166,11 +2165,9 @@ class TildeExpansionTestCase(BaseTestCase):
self.stubs.Set(glob, 'glob', lambda p: [tmpfile])
try:
print ['--config-dir', os.path.join('~', os.path.basename(tmpdir))]
self.conf(['--config-dir',
os.path.join('~', os.path.basename(tmpdir))])
except ConfigFilesNotFoundError as cfnfe:
print(cfnfe)
self.assertTrue(os.path.expanduser('~') in str(cfnfe))
self.stubs.Set(os.path, 'exists', lambda p: p == tmpfile)