VPP-1508: Python3 tests. Explicitly specify string formatting.
.format() doesn't understand what to do with binary values by default. Specify that we expect coersion to string. Change-Id: Ic4b697f70852124dc85ab231f76b7934d0d71f4d Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
This commit is contained in:

committed by
Ole Trøan

parent
4a4cea02ef
commit
ea2450fa2d
@ -154,7 +154,7 @@ class TestLisp(VppTestCase):
|
||||
|
||||
self.deid_ip4_net = self.faf.net
|
||||
self.deid_ip4 = self.faf.get_ip4()
|
||||
self.seid_ip4 = '{}/{}'.format(self.pg0.local_ip4, 32)
|
||||
self.seid_ip4 = '{!s}/{!s}'.format(self.pg0.local_ip4, 32)
|
||||
self.rloc_ip4 = self.pg1.remote_ip4n
|
||||
|
||||
test_cases = [
|
||||
|
Reference in New Issue
Block a user