X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=test%2Fintegration%2Faddress_cache.py;fp=test%2Fintegration%2Faddress_cache.py;h=e0b94e3fb2db180c45fe65abb261e11dc0165528;hp=7af5feeb66bd2afb6b017728411270140c275d5c;hb=c8402791b82947c49ba1d04f855dab04191607ca;hpb=66eb66ec8f872db3dc12e1d01101772918d69a4a diff --git a/test/integration/address_cache.py b/test/integration/address_cache.py index 7af5feeb..e0b94e3f 100755 --- a/test/integration/address_cache.py +++ b/test/integration/address_cache.py @@ -14,17 +14,8 @@ from testlib.test import Test def init(ctx: Test) -> T.Tuple[Tinc, Tinc]: """Create test node.""" - foo, bar = ctx.node(), ctx.node() - - stdin = f""" - init {foo} - set Port 0 - set Address localhost - set DeviceType dummy - set AutoConnect no - """ - foo.cmd(stdin=stdin) - + bar = ctx.node() + foo = ctx.node(init="set AutoConnect no") return foo, bar