diff --git a/src/test/helpers.py b/src/test/helpers.py
index 9a090355..071eff27 100644
--- a/src/test/helpers.py
+++ b/src/test/helpers.py
@@ -72,6 +72,8 @@ class FakeBridge(object):
setattr(self, name, checkCall)
+ def addMethod(self, name, int_suffix, in_sign, out_sign, method, async=False):
+ pass
class FakeMemory(object):
"""Class to simulate and test memory object"""
@@ -94,6 +96,8 @@ class FakeMemory(object):
def delWaitingSub(self, contact_jid, profile_key):
pass
+ def updateParams(self, xml):
+ pass
class FakeTriggerManager(object):
diff --git a/src/test/test_plugin_text_syntaxes.py b/src/test/test_plugin_text_syntaxes.py
new file mode 100644
index 00000000..103cce5f
--- /dev/null
+++ b/src/test/test_plugin_text_syntaxes.py
@@ -0,0 +1,88 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+
+# SAT: a jabber client
+# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org)
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see
a paragraph
+ + + + + + spam spam SPAM! +a paragraph
+test retest
toto
test retest
toto