summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd@luon.net>2007-11-09 12:54:50 +0000
committerSjoerd Simons <sjoerd@luon.net>2007-11-09 12:54:50 +0000
commit7f6514591148ba70495507a562558c4c316c96d1 (patch)
tree2e41a8adf526c1915cc065adff06031b6db33f4b /tests
parentf8460a1dcf7da3e6a03a3251a2607ec7efc393d8 (diff)
downloadtelepathy-salut-7f6514591148ba70495507a562558c4c316c96d1.tar.gz
mesh.py: Add failure trigger function
20071109125450-93b9a-1401b705bd225b0ab4916fff117ab92b61ea2401.gz
Diffstat (limited to 'tests')
-rw-r--r--tests/mesh.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/mesh.py b/tests/mesh.py
index eb7586f4..f0348e11 100644
--- a/tests/mesh.py
+++ b/tests/mesh.py
@@ -105,6 +105,9 @@ class BaseMeshNode(protocol.ProcessProtocol):
def pushInput(self, data):
self.process.write("INPUT:" + b64encode(data) + "\n")
+ def fail(self, name):
+ self.process.write("FAIL:" + name + "\n")
+
def disconnect(self):
self.process.write("DISCONNECT\n")