__missing__ main stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 26 Mar 2010 08:30:25 +0100
branchstable
changeset 5031 60c4dea96afa
parent 5030 5238d9a8dfee
child 5032 e3fa27fc0d9a
__missing__ main
web/test/unittest_pdf.py
--- a/web/test/unittest_pdf.py	Fri Mar 26 08:28:22 2010 +0100
+++ b/web/test/unittest_pdf.py	Fri Mar 26 08:30:25 2010 +0100
@@ -36,3 +36,8 @@
         self.assertEquals( len(output), len(reference) )
         # cut begin & end 'cause they contain variyng data
         self.assertTextEquals(output[150:1500], reference[150:1500])
+
+if __name__ == '__main__':
+    from logilab.common.testlib import unittest_main
+    unittest_main()
+