diff sat/test/test_plugin_xep_0277.py @ 2780:85d3240a400f

plugin text syntaxes: changed import name to TEXT_SYNTAX (better with underscore for autocompletion)
author Goffi <goffi@goffi.org>
date Sat, 19 Jan 2019 11:39:02 +0100
parents 003b8b4b56a7
children ab2696e34d29
line wrap: on
line diff
--- a/sat/test/test_plugin_xep_0277.py	Sat Jan 19 11:38:54 2019 +0100
+++ b/sat/test/test_plugin_xep_0277.py	Sat Jan 19 11:39:02 2019 +0100
@@ -82,7 +82,7 @@
         self.host.plugins["XEP-0060"] = plugin_xep_0060.XEP_0060(self.host)
         self.host.plugins["XEP-0163"] = XEP_0163(self.host)
         reload(plugin_misc_text_syntaxes)  # reload the plugin to avoid conflict error
-        self.host.plugins["TEXT-SYNTAXES"] = plugin_misc_text_syntaxes.TextSyntaxes(
+        self.host.plugins["TEXT_SYNTAXES"] = plugin_misc_text_syntaxes.TextSyntaxes(
             self.host
         )
         self.plugin = plugin_xep_0277.XEP_0277(self.host)