From c90f88964dfb28a4a2cba0b6c68d63d8ce8588ae Mon Sep 17 00:00:00 2001 From: Richard Darst Date: Sat, 12 Sep 2009 03:15:47 +0000 Subject: Create ways for tests to disable meetingLocalConfig - We have the __main__.running_tests that can disable it, for things running in the same python process. - We have an environment variable MEETBOT_RUNNING_TESTS for different python processes. darcs-hash:20090912031547-82ea9-2eaee7f221b6fc07e42fdd0bb04e4c11c6037154.gz --- (limited to 'tests') diff --git a/tests/run_test.py b/tests/run_test.py index 9c2bb70..c503c24 100644 --- a/tests/run_test.py +++ b/tests/run_test.py @@ -8,6 +8,7 @@ import unittest import meeting running_tests = True +os.environ['MEETBOT_RUNNING_TESTS'] = '1' class MeetBotTest(unittest.TestCase): -- cgit v0.9.1