test.patch revision 2810
2810N/A+ headers = {'content-length': self.body.__len__(),
2810N/A 'content-type': 'x-application/test',
2810N/A 'x-timestamp': self.timestamp,
2810N/A 'last-modified': self.timestamp,
2810N/A@@ -2310,6 +2310,9 @@ class TestObjectController(unittest.Test
2810N/A@@ -2439,6 +2442,9 @@ class TestObjectController(unittest.Test
2810N/A@@ -425,9 +425,15 @@ class TestUtils(unittest.TestCase):
2810N/A logger = utils.get_logger({
2810N/A+ if sys.platform == 'sunos5':
2810N/A+ ((), {'facility': orig_sysloghandler.LOG_LOCAL3})
2810N/A- 'facility': orig_sysloghandler.LOG_LOCAL3})],
2810N/A+ 'facility': orig_sysloghandler.LOG_LOCAL3})] + extra,
2810N/A@@ -116,11 +116,12 @@ class TestWSGI(unittest.TestCase):
2810N/A+ expected_socket_opts[socket.IPPROTO_TCP] = {
2810N/A socket.TCP_KEEPIDLE: 600,
2810N/A sock = wsgi.get_socket(ssl_conf)
2810N/A@@ -482,14 +483,16 @@ class TestObjectReplicator(unittest.Test
2810N/A self.replicator.logger.log_dict['warning'])
2810N/A- df = DiskFile(self.devices, 'sda', '0', 'a', 'c', 'o', FakeLogger())
2810N/A- mkdirs(df.datadir)
2810N/A+ with mockpatch('swift.obj.replicator.http_connect',
2810N/A+ df = DiskFile(self.devices, 'sda', '0', 'a', 'c', 'o', FakeLogger())
2810N/A+ mkdirs(df.datadir)
2810N/A df = DiskFile(self.devices, 'sda', '0', 'a', 'c', 'o', FakeLogger())
2810N/A@@ -613,12 +616,16 @@ class TestObjectReplicator(unittest.Test
2810N/A tpool.execute = was_execute
2810N/A+ with mockpatch('swift.obj.replicator.http_connect',
2810N/A+ with mockpatch('swift.obj.replicator.http_connect',