server/test/unittest_fti.py
branchstable
changeset 6436 275e9f402ccc
parent 6340 470d8e828fda
child 6780 92e4c07f86c0
--- a/server/test/unittest_fti.py	Mon Oct 11 10:47:22 2010 +0200
+++ b/server/test/unittest_fti.py	Mon Oct 11 11:05:19 2010 +0200
@@ -57,3 +57,7 @@
             self.commit()
             self.assertEqual(req.execute('Any X ORDERBY FTIRANK(X) DESC WHERE X has_text "cubicweb"').rows,
                               [[c1.eid], [c3.eid], [c2.eid]])
+
+if __name__ == '__main__':
+    from logilab.common.testlib import unittest_main
+    unittest_main()