diff options
author | Sjoerd Simons <sjoerd@luon.net> | 2007-11-09 12:54:50 +0000 |
---|---|---|
committer | Sjoerd Simons <sjoerd@luon.net> | 2007-11-09 12:54:50 +0000 |
commit | 7f6514591148ba70495507a562558c4c316c96d1 (patch) | |
tree | 2e41a8adf526c1915cc065adff06031b6db33f4b /tests | |
parent | f8460a1dcf7da3e6a03a3251a2607ec7efc393d8 (diff) | |
download | telepathy-salut-7f6514591148ba70495507a562558c4c316c96d1.tar.gz |
mesh.py: Add failure trigger function
20071109125450-93b9a-1401b705bd225b0ab4916fff117ab92b61ea2401.gz
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mesh.py | 3 |
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") |