Fix tests from last commit

This commit is contained in:
James Lu 2016-03-15 08:35:46 -07:00
parent 1b0c2ab95a
commit 22408ce413

View File

@ -41,6 +41,7 @@ class FunctionsTestCase(SupyTestCase):
class state:
channels = {'#foo': holder()}
nick = 'foobar'
network = 'testnet'
@retry()
def testStandardSubstitute(self):
@ -82,6 +83,9 @@ class FunctionsTestCase(SupyTestCase):
c = f(self.irc, msg, '$channel')
self.assertEqual(c, msg.args[0])
net = f(self.irc, msg, '$network')
self.assertEqual(net, self.irc.network)