From 22408ce4132a73ee033dea87563df5b8258ddbd6 Mon Sep 17 00:00:00 2001 From: James Lu Date: Tue, 15 Mar 2016 08:35:46 -0700 Subject: [PATCH] Fix tests from last commit --- test/test_standardSubstitute.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_standardSubstitute.py b/test/test_standardSubstitute.py index 901f6cb4e..d108d7b53 100644 --- a/test/test_standardSubstitute.py +++ b/test/test_standardSubstitute.py @@ -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) +