projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add tests for some device & address variables
[tinc]
/
test
/
integration
/
cmd_import.py
diff --git
a/test/integration/cmd_import.py
b/test/integration/cmd_import.py
index
5bf37be
..
40c258c
100755
(executable)
--- a/
test/integration/cmd_import.py
+++ b/
test/integration/cmd_import.py
@@
-27,17
+27,7
@@
LONG_NAME = MAX_PATH * "x"
def init(ctx: Test) -> Tinc:
"""Initialize a node."""
def init(ctx: Test) -> Tinc:
"""Initialize a node."""
-
- node = ctx.node()
- stdin = f"""
- init {node}
- set Port 0
- set Address localhost
- set DeviceType dummy
- set AutoConnect no
- """
- node.cmd(stdin=stdin)
- return node
+ return ctx.node(init="set AutoConnect no")
def test_import(foo: Tinc) -> None:
def test_import(foo: Tinc) -> None: