]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
tests/integration: only spawn a receive-only lldpd in first namespace
authorVincent Bernat <vincent@bernat.im>
Mon, 21 Mar 2016 13:26:15 +0000 (14:26 +0100)
committerVincent Bernat <vincent@bernat.im>
Mon, 21 Mar 2016 13:26:15 +0000 (14:26 +0100)
We don't need it to send anything.

tests/integration/fixtures/programs.py

index 8d3242635f2e41941311f2de47689e912f19a2b2..d49fdbcbc30a55a02727cc822186495954633710 100644 (file)
@@ -269,10 +269,10 @@ def lldpd(request, tmpdir):
 
 @pytest.fixture()
 def lldpd1(lldpd, links, namespaces):
-    """Shortcut for a first lldpd daemon."""
+    """Shortcut for a first receive-only lldpd daemon."""
     links(namespaces(1), namespaces(2))
     with namespaces(1):
-        lldpd()
+        lldpd("-r")
 
 
 @pytest.fixture()