devtools/testlib.py
changeset 11014 9c9f5e913f9c
parent 10997 da712d3f0601
child 11075 881b3d9ee2b3
equal deleted inserted replaced
11013:645fcb5bcc39 11014:9c9f5e913f9c
   266     * `app`, the cubicweb publisher (for web testing)
   266     * `app`, the cubicweb publisher (for web testing)
   267     * `repo`, the repository object
   267     * `repo`, the repository object
   268     * `admlogin`, login of the admin user
   268     * `admlogin`, login of the admin user
   269     * `admpassword`, password of the admin user
   269     * `admpassword`, password of the admin user
   270     * `shell`, create and use shell environment
   270     * `shell`, create and use shell environment
       
   271     * `anonymous_allowed`: flag telling if anonymous browsing should be allowed
   271     """
   272     """
   272     appid = 'data'
   273     appid = 'data'
   273     configcls = devtools.ApptestConfiguration
   274     configcls = devtools.ApptestConfiguration
   274     requestcls = fake.FakeRequest
   275     requestcls = fake.FakeRequest
   275     tags = TestCase.tags | Tags('cubicweb', 'cw_repo')
   276     tags = TestCase.tags | Tags('cubicweb', 'cw_repo')