missing unittest_main stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 22 Mar 2010 11:11:00 +0100
branchstable
changeset 4968 79d80cfaab6f
parent 4952 f32dcf3925d4
child 4969 0ad18e41053a
missing unittest_main
hooks/test/unittest_syncschema.py
--- a/hooks/test/unittest_syncschema.py	Thu Mar 18 23:22:40 2010 +0100
+++ b/hooks/test/unittest_syncschema.py	Mon Mar 22 11:11:00 2010 +0100
@@ -322,3 +322,6 @@
         cstr = rdef.constraint_by_type('StaticVocabularyConstraint')
         self.assertEquals(cstr.values, (u'normal', u'auto', u'new'))
         self.execute('INSERT Transition T: T name "hop", T type "new"')
+
+if __name__ == '__main__':
+    unittest_main()