From 0d978be260157e1a0c31d62054151474c8cc0b0a Mon Sep 17 00:00:00 2001 From: GLolol Date: Wed, 19 Nov 2014 17:43:23 -0800 Subject: [PATCH] advanced_plugin_testing.rst: Fix a couple of typos --- develop/advanced_plugin_testing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/develop/advanced_plugin_testing.rst b/develop/advanced_plugin_testing.rst index 2e69020..eacd079 100644 --- a/develop/advanced_plugin_testing.rst +++ b/develop/advanced_plugin_testing.rst @@ -200,7 +200,7 @@ testing for some reason, we could just do this:: And now you can be assured that supybot.commands.nested is going to be off for all of your test methods in this test case class. -Temporaly setting a configuration variable +Temporarily setting a configuration variable ------------------------------------------ Sometimes we want to change a configuration variable only in a test (or in @@ -211,7 +211,7 @@ historical way to do it is:: class MyPluginTestCase(PluginTestCase): def testThisThing(self): - original_value conf.supybot.commands.nested() + original_value = conf.supybot.commands.nested() conf.supybot.commands.nested.setValue(False) try: # stuff