From 109fabf5d4d934afab03a67e2aaf757b9b0aaf86 Mon Sep 17 00:00:00 2001 From: Vassilii Khachaturov Date: Thu, 5 Sep 2013 08:25:30 +0000 Subject: [PATCH] add __main__ for stand-alone test runs svn: r23036 --- gramps/gen/datehandler/test/datehandler_test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gramps/gen/datehandler/test/datehandler_test.py b/gramps/gen/datehandler/test/datehandler_test.py index 79ea6a895..6b3664e05 100644 --- a/gramps/gen/datehandler/test/datehandler_test.py +++ b/gramps/gen/datehandler/test/datehandler_test.py @@ -173,3 +173,6 @@ class DateHandlerTest(unittest.TestCase): with self.assertRaises(DateError): d.set(Date.QUAL_NONE, Date.MOD_SPAN, Date.CAL_GREGORIAN, (4, 7, 1789, False, 5, 88, 1876, False), "Text comment") + +if __name__ == "__main__": + unittest.main()