Merge "Using assertIsNone() instead of assertEqual(None, ...)"

This commit is contained in:
Jenkins 2016-10-03 06:58:13 +00:00 committed by Gerrit Code Review
commit 68068090ee
1 changed files with 1 additions and 1 deletions

View File

@ -955,7 +955,7 @@ class RouteTableTestCase(base.ApiTestCase):
'nexthop': '127.0.0.1'},
{'destination': '169.254.169.254/32',
'nexthop': fakes.IP_GATEWAY_SUBNET_1}]))
self.assertEqual(None, gateway_ip)
self.assertIsNone(gateway_ip)
host_routes, gateway_ip = (
route_table_api._get_subnet_host_routes_and_gateway_ip(