From d6949c95c10ca9a19650c7dff72ba65eb50d9cf9 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 27 Oct 2004 07:51:23 +0000 Subject: [PATCH] Fixed a bug in the test. --- test/test_Karma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_Karma.py b/test/test_Karma.py index e2f6f045f..67d86030d 100644 --- a/test/test_Karma.py +++ b/test/test_Karma.py @@ -70,6 +70,7 @@ if sqlite is not None: try: orig = conf.supybot.plugins.Karma.response() conf.supybot.plugins.Karma.response.setValue(True) + original = conf.supybot.plugins.Karma.rankingDisplay() self.assertNotError('foo++') self.assertNotError('foo++') self.assertNotError('foo++') @@ -91,7 +92,6 @@ if sqlite is not None: self.assertNotError('oof--') self.assertNotError('oof--') self.assertRegexp('karma', 'foo.*bar.*baz.*oof.*rab.*zab') - original = conf.supybot.plugins.Karma.rankingDisplay() conf.supybot.plugins.Karma.rankingDisplay.setValue(4) self.assertRegexp('karma', 'foo.*bar.*baz.*quux') finally: