diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2010-04-12 17:37:03 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2010-04-12 17:37:03 +0200 |
commit | 32917009b05d4302c9e2dfe88841dbb3f6a32d72 (patch) | |
tree | d11bef7f0d737f441d34554be6b900b3d33233d5 | |
parent | 7825f588d81546015427629fef5694b8ff924d09 (diff) |
tests: use the echo123 test account instead of an external one
now that we have a config option allowing to do so, make use of it, it's
more reliable
-rw-r--r-- | skype/t/irssi/skype-info.test | 7 | ||||
-rw-r--r-- | skype/t/irssi/skype-msg.test | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/skype/t/irssi/skype-info.test b/skype/t/irssi/skype-info.test index 0752c35b..49fab7ea 100644 --- a/skype/t/irssi/skype-info.test +++ b/skype/t/irssi/skype-info.test @@ -6,6 +6,7 @@ TESTPASSWORD="$TEST_SKYPE_PASSWORD" ### Test receiving info output /expectbee 'Welcome to the BitlBee' -command 'msg $$C register testing' /expectbee 'Account successfully created' -command 'msg $$C account add skype @LOGIN@ @PASSWORD@' -/expectbee 'Account successfully added' -command 'msg $$C account on 0' -/expectbee 'Logged in' -command 'msg $$C info anothrcom' -/expectbee 'Full Name: iNeZha Bot' -command 'quit Test Passed' +/expectbee 'Account successfully added' -command 'msg $$C account set 0/test_join true' +/expectbee 'test_join' -command 'msg $$C account on 0' +/expectjoin echo123 -command 'msg $$C info echo123' +/expectbee 'Full Name: Echo / Sound Test Service' -command 'quit Test Passed' diff --git a/skype/t/irssi/skype-msg.test b/skype/t/irssi/skype-msg.test index a6c5b024..64a2e17d 100644 --- a/skype/t/irssi/skype-msg.test +++ b/skype/t/irssi/skype-msg.test @@ -6,6 +6,7 @@ TESTPASSWORD="$TEST_SKYPE_PASSWORD" ### Test sending and receiving messages /expectbee 'Welcome to the BitlBee' -command 'msg $$C register testing' /expectbee 'Account successfully created' -command 'msg $$C account add skype @LOGIN@ @PASSWORD@' -/expectbee 'Account successfully added' -command 'msg $$C account on 0' -/expectbee 'Logged in' -command 'msg $$C anothrcom: ?' -/expectbee 'Manage your feeds' -command 'quit Test Passed' +/expectbee 'Account successfully added' -command 'msg $$C account set 0/test_join true' +/expectbee 'test_join' -command 'msg $$C account on 0' +/expectjoin echo123 -command 'msg $$C echo123: ping, say pong' +/expectbee 'pong' -command 'quit Test Passed' |