equal
deleted
inserted
replaced
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 |