From ea2450fa2d1e8ba0295ea9861a404796100dad1e Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Wed, 6 Mar 2019 08:23:58 -0800 Subject: 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 --- test/test_lisp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_lisp.py') diff --git a/test/test_lisp.py b/test/test_lisp.py index 6ca16811b8b..03a5c2a526d 100644 --- a/test/test_lisp.py +++ b/test/test_lisp.py @@ -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 = [ -- cgit 1.2.3-korg