doc/tutorials/advanced/part02_security.rst
branch3.26
changeset 12447 247b86512d94
parent 12446 1e892e978254
child 12383 2dee7a944b3a
equal deleted inserted replaced
12446:1e892e978254 12447:247b86512d94
   303 
   303 
   304 Security is tricky. Writing some tests for it is a very good idea. You should
   304 Security is tricky. Writing some tests for it is a very good idea. You should
   305 even write them first, as Test Driven Development recommends!
   305 even write them first, as Test Driven Development recommends!
   306 
   306 
   307 Here is a small test case that will check the basis of our security
   307 Here is a small test case that will check the basis of our security
   308 model, in *test/unittest_sytweb.py*:
   308 model, in :file:`test/test_sytweb.py`:
   309 
   309 
   310 .. sourcecode:: python
   310 .. sourcecode:: python
   311 
   311 
   312     from cubicweb.devtools.testlib import CubicWebTC
   312     from cubicweb.devtools.testlib import CubicWebTC
   313     from cubicweb import Binary
   313     from cubicweb import Binary