[test] missing main stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 11 Oct 2010 11:05:19 +0200
branchstable
changeset 6436 275e9f402ccc
parent 6434 d99b742a9c49
child 6438 abae10f81a85
[test] missing main
server/test/unittest_fti.py
--- 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()