web/test/unittest_pdf.py
branchstable
changeset 5031 60c4dea96afa
parent 4676 b0937a191f94
child 5053 2021b3237015
--- 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()
+