Commit b7f1a249 authored by Christophe de Vienne's avatar Christophe de Vienne
Browse files

[tests] Add module-level code to run the tests when runned as a script

parent 28f895a46bcf
......@@ -353,3 +353,8 @@ class OAuthTC(CubicWebTestTC):
self.login(oauthtoken="SOMETOKEN2", autologin=True)
self.assertNotIn('__data_session', self.webapp.cookies)
if __name__ == '__main__':
from logilab.common.testlib import unittest_main
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment