Fix slack test

This commit is contained in:
Jan Kaluza 2015-12-24 12:19:07 +01:00
parent 1e478b79c2
commit 512571a406
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ irc_server=localhost
[database]
type=sqlite3 # or "none" without database backend
database=users.sqlite
database=slack.sql
#prefix=twitter
#type = mysql # or "none" without database backend.......................................................................................................................
#database = test

View file

@ -163,7 +163,7 @@ class JabberSlackServerModeConf(BaseTest):
self.responder_roompassword = "spectrum2tests.rkWHkOrjYucxsmBVkA9K"
def skip_test(self, test):
os.system("cp ../slack_jabber/slack.sql users.sqlite")
os.system("cp ../slack_jabber/slack.sql .")
if test in ["muc_whois.py", "muc_change_topic.py", "muc_join_leave.py", "muc_pm.py"]:
return True
return False