aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/network_services/vnf_generic/vnf/test_udp_replay.py
diff options
context:
space:
mode:
authorEmma Foley <emma.l.foley@intel.com>2017-12-19 11:45:57 +0000
committerEmma Foley <emma.l.foley@intel.com>2018-01-25 20:23:08 +0000
commit298e2e529e815f31c7ae5e0e1154a7fdac92a067 (patch)
treee8be63b8bf23dbed871824c33ca44c6a15e5abba /tests/unit/network_services/vnf_generic/vnf/test_udp_replay.py
parent44ee5e004f3af5dcdbbc1d172faba91b8419b6d6 (diff)
Replace assertEquals with assertEqual
unittest.assertEquals is deprecated[1], and has been replaced with unittest.assertEqual. [1] https://docs.python.org/2/library/unittest.html#deprecated-aliases Change-Id: I9c6320e3a9ec5528036b529a9c32fc48b0bcfd62 JIRA: YARDSTICK-864 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Diffstat (limited to 'tests/unit/network_services/vnf_generic/vnf/test_udp_replay.py')
-rw-r--r--tests/unit/network_services/vnf_generic/vnf/test_udp_replay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/network_services/vnf_generic/vnf/test_udp_replay.py b/tests/unit/network_services/vnf_generic/vnf/test_udp_replay.py
index 635ce2735..cda3852fe 100644
--- a/tests/unit/network_services/vnf_generic/vnf/test_udp_replay.py
+++ b/tests/unit/network_services/vnf_generic/vnf/test_udp_replay.py
@@ -447,7 +447,7 @@ class TestUdpReplayApproxVnf(unittest.TestCase):
udp_replay_approx_vnf._vnf_process.is_alive = mock.Mock(return_value=1)
udp_replay_approx_vnf._vnf_process.exitcode = 0
- self.assertEquals(udp_replay_approx_vnf.wait_for_instantiate(), 0)
+ self.assertEqual(udp_replay_approx_vnf.wait_for_instantiate(), 0)
@mock.patch("yardstick.network_services.vnf_generic.vnf.sample_vnf.Context")
@mock.patch('yardstick.ssh.SSH')