Remove some debugging prints from tests

Change-Id: I7116aa75ea5c8e1ef85a799a6e1ddf0d6edffb4f
This commit is contained in:
Samuel Merritt 2014-03-18 12:50:51 -07:00
parent 6cdf784e2f
commit 7829ca07d7
3 changed files with 0 additions and 7 deletions

View File

@ -1271,7 +1271,6 @@ class TestFormPost(unittest.TestCase):
status[0] = s
headers[0] = h
body = ''.join(self.formpost(env, start_response))
print repr(headers)
self.assertEqual('303 See Other', status[0])
self.assertEqual(
'http://redirect?status=201&message=',

View File

@ -674,8 +674,6 @@ class TestRingBuilder(unittest.TestCase):
rb.replicas = 4.9
rb.rebalance()
print repr(rb._replica2part2dev)
print repr(rb.devs)
rb.validate()
self.assertEqual([len(p2d) for p2d in rb._replica2part2dev],

View File

@ -297,7 +297,6 @@ class TestObjectReplicator(unittest.TestCase):
mock_http_connect(200)):
df = self.df_mgr.get_diskfile('sda', '1', 'a', 'c', 'o')
mkdirs(df._datadir)
print df._datadir
f = open(os.path.join(df._datadir,
normalize_timestamp(time.time()) + '.data'),
'wb')
@ -325,7 +324,6 @@ class TestObjectReplicator(unittest.TestCase):
mock_http_connect(200)):
df = self.df_mgr.get_diskfile('sda', '1', 'a', 'c', 'o')
mkdirs(df._datadir)
print df._datadir
f = open(os.path.join(df._datadir,
normalize_timestamp(time.time()) + '.data'),
'wb')
@ -360,7 +358,6 @@ class TestObjectReplicator(unittest.TestCase):
self.replicator.handoff_delete = 2
df = self.df_mgr.get_diskfile('sda', '1', 'a', 'c', 'o')
mkdirs(df._datadir)
print df._datadir
f = open(os.path.join(df._datadir,
normalize_timestamp(time.time()) + '.data'),
'wb')
@ -394,7 +391,6 @@ class TestObjectReplicator(unittest.TestCase):
self.replicator.handoff_delete = 2
df = self.df_mgr.get_diskfile('sda', '1', 'a', 'c', 'o')
mkdirs(df._datadir)
print df._datadir
f = open(os.path.join(df._datadir,
normalize_timestamp(time.time()) + '.data'),
'wb')