changeset 4314:3dd60fe089fe

Code review: make raised TODO exceptions into py.test.skips
author Florian Krupicka <florian.krupicka@googlemail.com>
date Sat, 16 Aug 2008 02:20:05 +0200
parents 0ab9e5a38822
children b75bbed31b67
files MoinMoin/web/_tests/test_utils.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/web/_tests/test_utils.py	Fri Aug 15 14:56:42 2008 +0200
+++ b/MoinMoin/web/_tests/test_utils.py	Sat Aug 16 02:20:05 2008 +0200
@@ -5,6 +5,8 @@
     @copyright: 2008 MoinMoin:FlorianKrupicka
     @license: GNU GPL, see COPYING for details.
 """
+import py
+
 from MoinMoin.web import utils
 
 class TestUniqueIDGenerator(object):
@@ -21,7 +23,7 @@
             assert self.uid_gen(base) == expected
 
     def testStack(self):
-        raise NotImplementedError("TODO: needs implementation")
+        py.test.skip("TODO: needs implementation")
 
     def testDocuments(self):
-        raise NotImplementedError("TODO: needs implementation")
+        py.test.skip("TODO: needs implementation")