Clarify test comment to minimize confusion
Wording was a little confusing. Try to make it more clear. Change-Id: Iad280314bf4929b18b1493bd7e9a26fc58297ee1
This commit is contained in:
@@ -217,7 +217,7 @@ class TestNetutils(test_base.BaseTestCase):
|
||||
self.assertEqual(1, sock1.close.call_count)
|
||||
self.assertEqual(1, sock2.close.call_count)
|
||||
|
||||
# 2 interfaces, 2 calls to enter promiscuous mode, 1 to leave
|
||||
# 2 interfaces * (2 calls to enter promiscuous mode + 1 to leave) = 6
|
||||
self.assertEqual(6, fcntl_mock.call_count)
|
||||
|
||||
@mock.patch('fcntl.ioctl')
|
||||
|
Reference in New Issue
Block a user