[test] add missing __main__ as expected by apycot pyunit checker stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 01 Jun 2010 14:26:50 +0200
branchstable
changeset 5620 8bff6aae4623
parent 5619 a2c9a55b5a9d
child 5621 6f32f08d91f3
[test] add missing __main__ as expected by apycot pyunit checker
web/test/unittest_views_basetemplates.py
--- a/web/test/unittest_views_basetemplates.py	Tue Jun 01 13:19:43 2010 +0200
+++ b/web/test/unittest_views_basetemplates.py	Tue Jun 01 14:26:50 2010 +0200
@@ -34,3 +34,6 @@
         self.assertEquals(self._login_labels(), ['login or email', 'password'])
         self.set_option('allow-email-login', 'no')
         self.assertEquals(self._login_labels(), ['login', 'password'])
+
+if __name__ == '__main__':
+   unittest_main()