summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEmma Foley <emma.l.foley@intel.com>2017-11-08 17:48:59 +0000
committerEmma Foley <emma.l.foley@intel.com>2017-11-08 17:59:19 +0000
commit6b23e3e84eacdd6caa6fe4a93ed9ee1112938e51 (patch)
tree02df5ca39637f35f0efd19cd8802e104c6b8198e /tests
parent204702db384241faffbf0848ad0bc63fa476b52d (diff)
Remove network_services.vnf_generic.vnf.prox_helpers.ProxSocketHelper.rx_stats
* Remove the method which is unused and is marked as deprecated. Change-Id: Ie64084fcd26985283c664445b173a757d3d908ab JIRA: YARDSTICK-838 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/network_services/vnf_generic/vnf/test_prox_helpers.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/unit/network_services/vnf_generic/vnf/test_prox_helpers.py b/tests/unit/network_services/vnf_generic/vnf/test_prox_helpers.py
index 3c073812c..4cfc48de2 100644
--- a/tests/unit/network_services/vnf_generic/vnf/test_prox_helpers.py
+++ b/tests/unit/network_services/vnf_generic/vnf/test_prox_helpers.py
@@ -533,20 +533,6 @@ class TestProxSocketHelper(unittest.TestCase):
result = prox.hz()
self.assertEqual(result, expected)
- def test_rx_stats(self, mock_time):
- core_stats = [
- '3,4,5,6',
- '7,8,9,10,NaN',
- '11,12,13,14,15',
- ]
-
- mock_socket = mock.MagicMock()
- prox = ProxSocketHelper(mock_socket)
- prox.get_data = mock.MagicMock(side_effect=core_stats)
- expected = 21, 24, 27, 14
- result = prox.rx_stats([3, 4, 5], 16)
- self.assertEqual(result, expected)
-
def test_core_stats(self, mock_time):
core_stats = [
'3,4,5,6',