diff options
author | Ole Troan <ot@cisco.com> | 2019-10-21 20:41:44 +0200 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-10-21 20:53:14 +0000 |
commit | f6dee6c8bac17aadfa0378a6e00fdc448a3c3a6d (patch) | |
tree | ee760974d3d20fc3beaf4c1107a0a5f7115036d6 | |
parent | 5e56f7511cf9387481d71214c41509cbd44f9a90 (diff) |
bonding: tests support python3
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I6cedb43af4437fdabce75f4a845629c5c2f96f6a
-rw-r--r-- | test/test_bond.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_bond.py b/test/test_bond.py index 27da15c5ab5..f6a9b08426b 100644 --- a/test/test_bond.py +++ b/test/test_bond.py @@ -100,7 +100,7 @@ class TestBondInterface(VppTestCase): p2 = (Ether(src=bond0_mac, dst=self.pg2.local_mac) / IP(src=self.pg2.local_ip4, dst="10.10.10.12") / UDP(sport=1235, dport=1235) / - Raw('\xa5' * 100)) + Raw(b'\xa5' * 100)) self.pg2.add_stream(p2) # generate a packet from pg3 -> BondEthernet0 -> pg0 @@ -109,7 +109,7 @@ class TestBondInterface(VppTestCase): p3 = (Ether(src=bond0_mac, dst=self.pg3.local_mac) / IP(src=self.pg3.local_ip4, dst="10.10.10.11") / UDP(sport=1234, dport=1234) / - Raw('\xa5' * 100)) + Raw(b'\xa5' * 100)) self.pg3.add_stream(p3) self.pg_enable_capture(self.pg_interfaces) |