Remove meaningless lines in reconciler unit test

There are two lines in which lists are sorted in test_reconciler.py
However, the values in the lists will be same, then the two lines are
meaningless.
This patch removes the two lines from test_reconciler.py

Change-Id: I7d72a7a4e9a27d87cd78c96f79d1b340b2ad23de
This commit is contained in:
Kazuhiro MIYAHARA 2016-09-01 21:24:52 +09:00
parent dd30b9ef98
commit a4279112b3

View File

@ -619,7 +619,6 @@ class TestReconcilerUtils(unittest.TestCase):
self.assertTrue(ret) self.assertTrue(ret)
self.assertEqual(ret, str(int(5948918.63946 // 3600 * 3600))) self.assertEqual(ret, str(int(5948918.63946 // 3600 * 3600)))
self.assertEqual(len(connect_args), 3) self.assertEqual(len(connect_args), 3)
connect_args.sort(key=lambda a: (a['ipaddr'], a['port']))
required_headers = ('x-content-type', 'x-etag') required_headers = ('x-content-type', 'x-etag')
@ -657,7 +656,6 @@ class TestReconcilerUtils(unittest.TestCase):
self.assertTrue(ret) self.assertTrue(ret)
self.assertEqual(ret, str(int(5948918.63946 // 3600 * 3600))) self.assertEqual(ret, str(int(5948918.63946 // 3600 * 3600)))
self.assertEqual(len(connect_args), 3) self.assertEqual(len(connect_args), 3)
connect_args.sort(key=lambda a: (a['ipaddr'], a['port']))
required_headers = ('x-size', 'x-content-type') required_headers = ('x-size', 'x-content-type')