Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ka_debug.py
diff options
context:
space:
mode:
authorThomas Jourdan <b.vehikel@googlemail.com>2010-03-28 15:33:38 (GMT)
committer Thomas Jourdan <b.vehikel@googlemail.com>2010-03-28 15:33:38 (GMT)
commite9f30ca4732e9aad420bde85e23fb96ef8fb2b0c (patch)
tree7bec979cf73c9c944880f516f24e19598f20703e /ka_debug.py
parentf0d84904457472f2d0935e9adff3fb84739c598b (diff)
clean up before release
Diffstat (limited to 'ka_debug.py')
-rw-r--r--ka_debug.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ka_debug.py b/ka_debug.py
index 9bfcc8c..9456259 100644
--- a/ka_debug.py
+++ b/ka_debug.py
@@ -24,8 +24,7 @@ import time
# default path for testing on local machine
DEBUG_ACTIVITY_PATH = '/home/strom/minimal/activities/Kandid.activity'
DEBUG_PROFILE_PATH = '/home/strom/.sugar/1/'
-DBC_BLACK_LIST = ['activity', 'ka_debug', 'kandidtube', 'setup',
- 'test_suite', 'test_history', 'test_enumerator']
+DBC_BLACK_LIST = ['activity', 'ka_debug', 'kandidtube', 'setup', ]
_logger = None
_start_time = time.time()
_last_clock = 0.0
@@ -110,7 +109,8 @@ if _try_once:
import contract, doctest
def enable_contact(module_name):
"""Enables design by contact for a module."""
- if module_name not in DBC_BLACK_LIST:
+ if module_name not in DBC_BLACK_LIST \
+ and not module_name.startswith('test_'):
a_modul = __import__(module_name)
contract.checkmod(module_name)
doctest.testmod(a_modul)