[skel] try to generate warning free stub... stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 26 Jan 2011 17:44:38 +0100
branchstable
changeset 6898 60cbb2b39ca9
parent 6897 858faaf699d9
child 6899 e592fb8ee27b
[skel] try to generate warning free stub...
skeleton/test/test_CUBENAME.py.tmpl
--- a/skeleton/test/test_CUBENAME.py.tmpl	Wed Jan 26 12:21:47 2011 +0100
+++ b/skeleton/test/test_CUBENAME.py.tmpl	Wed Jan 26 17:44:38 2011 +0100
@@ -29,7 +29,7 @@
 
 class DefaultTC(testlib.CubicWebTC):
     def test_something(self):
-        self.skip('this cube has no test')
+        self.skipTest('this cube has no test')
 
 
 if __name__ == '__main__':