summary refs log tree commit diff stats
path: root/test/__init__.py
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-05-14 17:27:04 +0200
committerhut <hut@lavabit.com>2010-05-14 17:27:04 +0200
commit420d3d1af8d2991ae6a8cbe061adaab878c4b3ff (patch)
treead1cdc33cc12984c141618439b646424d8a76c25 /test/__init__.py
parent792d6b23711c428a4a2b98537f44e2fbaed97fdd (diff)
parent2f3326a41430364cb34a227d311691cada605327 (diff)
downloadranger-420d3d1af8d2991ae6a8cbe061adaab878c4b3ff.tar.gz
Merge branch 'master' into cp
Conflicts:
	ranger/__main__.py
Diffstat (limited to 'test/__init__.py')
-rw-r--r--test/__init__.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/__init__.py b/test/__init__.py
index c2f9bde2..d87d1fc2 100644
--- a/test/__init__.py
+++ b/test/__init__.py
@@ -17,7 +17,15 @@ import os, sys
 
 __all__ = [ x[0:x.index('.')] \
 		for x in os.listdir(os.path.dirname(__file__)) \
-		if x.startswith('tc_') ]
+		if x.startswith('tc_') or x.startswith('bm_')]
+
+def TODO(fnc):
+	def result(*arg, **kw):
+		try:
+			fnc(*arg, **kw)
+		except:
+			pass # failure expected
+	return result
 
 def init():
 	sys.path.append(os.path.abspath(os.path.join(sys.path[0], '..')))