aboutsummaryrefslogtreecommitdiffstats
path: root/local/utility.py
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2014-04-28 00:16:14 +0300
committerkongr45gpen <electrovesta@gmail.com>2014-04-28 00:16:14 +0300
commitb4c587246e389b72019f76515dc04e0e13b92eb6 (patch)
tree62d777f222b7925b66ec10635385b92560973f5e /local/utility.py
parent8afc8e3105c89115c4327f83041bb96796c894ef (diff)
downloadsupybot_github-b4c587246e389b72019f76515dc04e0e13b92eb6.tar.gz
supybot_github-b4c587246e389b72019f76515dc04e0e13b92eb6.tar.bz2
supybot_github-b4c587246e389b72019f76515dc04e0e13b92eb6.zip
Add tests
Diffstat (limited to 'local/utility.py')
-rw-r--r--local/utility.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/local/utility.py b/local/utility.py
index abb0915..2640e41 100644
--- a/local/utility.py
+++ b/local/utility.py
@@ -67,7 +67,7 @@ def getShortURL(longurl):
def saveMessages(msgs):
""" Saves the last messages so that the plugin can be easily tested """
- if world.testing:
+ if not world.testing:
return
globals.messageList = msgs

© 2014-2024 Faster IT GmbH | imprint | privacy policy