From 13c9350699548e7f487090720e6e6af07111d853 Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Wed, 9 Nov 2016 14:59:30 -0800 Subject: [PATCH] Clarify test comment to minimize confusion Wording was a little confusing. Try to make it more clear. Change-Id: Iad280314bf4929b18b1493bd7e9a26fc58297ee1 --- ironic_python_agent/tests/unit/test_netutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ironic_python_agent/tests/unit/test_netutils.py b/ironic_python_agent/tests/unit/test_netutils.py index f9e0a59a6..e3fa823f5 100644 --- a/ironic_python_agent/tests/unit/test_netutils.py +++ b/ironic_python_agent/tests/unit/test_netutils.py @@ -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')