Changeset - 512571a406bb
[Not reviewed]
0 2 0
Jan Kaluza - 10 years ago 2015-12-24 12:19:07
jkaluza@redhat.com
Fix slack test
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
tests/slack_jabber/jabber_slack_test.cfg
Show inline comments
 
@@ -32,13 +32,13 @@ irc_server=localhost
 
[logging]
 
#config=logging.cfg # log4cxx/log4j logging configuration file
 
#backend_config=/home/hanzz/code/libtransport/spectrum/src/backend-logging.cfg # log4cxx/log4j logging configuration file for backends
 

	
 
[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
 
#prefix=
 
#user=root
 
#password=yourrootsqlpassword
tests/start.py
Show inline comments
 
@@ -160,13 +160,13 @@ class JabberSlackServerModeConf(BaseTest):
 
		self.responder_password = "spectrum2tests.rkWHkOrjYucxsmBVkA9K"
 
		self.responder_room = "spectrum2_room@conference.spectrum2tests.xmpp.slack.com"
 
		self.responder_nick = "owner"
 
		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
 

	
 
	def pre_test(self):
 
		os.system("prosody --config ../slack_jabber/prosody.cfg.lua > prosody.log &")
0 comments (0 inline, 0 general)