diff --git a/src/program/lwaftr/tests/subcommands/config_test.py b/src/program/lwaftr/tests/subcommands/config_test.py index d5dc9048d5..5c86efcccb 100644 --- a/src/program/lwaftr/tests/subcommands/config_test.py +++ b/src/program/lwaftr/tests/subcommands/config_test.py @@ -149,12 +149,12 @@ def test_add(self): self.run_cmd(add_args) get_args = self.get_cmd_args('get') get_args.append( - '/softwire-config/binding-table/softwire[ipv4=1.2.3.4][psid=7]') + '/softwire-config/binding-table/softwire[ipv4=1.2.3.4][psid=7]' + '/b4-ipv6') output = self.run_cmd(get_args) # run_cmd checks the exit code and fails the test if it is not zero. - get_args[-1] += '/b4-ipv6' self.assertEqual( - output.strip(), b'b4-ipv6 ::1;\nbr-address 2001:db8::;', + output.strip(), b'::1', '\n'.join(('OUTPUT', str(output, ENC)))) def test_get_state(self):