pyramid_cubicweb/tests/test_tools.py
changeset 11611 9d2bb6bdb5c8
parent 11550 38ed4c3ac3de
--- a/pyramid_cubicweb/tests/test_tools.py	Tue Mar 22 13:58:38 2016 +0100
+++ b/pyramid_cubicweb/tests/test_tools.py	Tue Mar 22 14:01:44 2016 +0100
@@ -24,3 +24,8 @@
         with self.admin_access.repo_cnx() as cnx:
             tools.cnx_attach_entity(cnx, user)
             self.assertEqual(user.login, 'anon')
+
+
+if __name__ == '__main__':
+    from unittest import main
+    main()