diff options
author | Fabrice Douchant <Fabrice.Douchant@logilab.fr> | 2008-10-17 15:55:34 +0200 |
---|---|---|
committer | Fabrice Douchant <Fabrice.Douchant@logilab.fr> | 2008-10-17 15:55:34 +0200 |
commit | fac9e3a7c08d428ee2e0c5e1e044c7eabb21ea55 (patch) | |
tree | 7dd1e3a5dc6fbce440c7f979e3cccda57b607bab | |
parent | c07e2ab2804ae24c52f790e1e4c26a37b324cc29 (diff) | |
download | logilab-common-fac9e3a7c08d428ee2e0c5e1e044c7eabb21ea55.tar.gz |
deleting test Exceptions from last ticket
-rw-r--r-- | test/unittest_decorators.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/unittest_decorators.py b/test/unittest_decorators.py index ba2dc36..855f242 100644 --- a/test/unittest_decorators.py +++ b/test/unittest_decorators.py @@ -6,7 +6,6 @@ class DecoratorsTC(TestCase): def test_require_version_good(self): """ should return the same function """ - #raise Exception('t1') def func() : pass sys.version_info = (2, 5, 5, 'final', 4) @@ -21,7 +20,6 @@ class DecoratorsTC(TestCase): def test_require_version_bad(self): """ should return a different function : skipping test """ - #raise Exception('t2') def func() : pass sys.version_info = (2, 5, 5, 'final', 4) @@ -36,7 +34,6 @@ class DecoratorsTC(TestCase): def test_require_version_exception(self): """ should throw a ValueError exception """ - raise Exception('t3') def func() : pass compare = ('2.5.a', '2.a', 'azerty') @@ -47,7 +44,6 @@ class DecoratorsTC(TestCase): def test_require_module_good(self): """ should return the same function """ - #raise Exception('t4') def func() : pass module = 'sys' @@ -58,7 +54,6 @@ class DecoratorsTC(TestCase): def test_require_module_bad(self): """ should return a different function : skipping test """ - raise Exception('t5') def func() : pass modules = ('bla', 'blo', 'bli') |