[book] small note about test/data/schema.py stable
authorAlexandre Fayolle <alexandre.fayolle@logilab.fr>
Wed, 13 Oct 2010 11:00:22 +0200
branchstable
changeset 6471 6e0642346f80
parent 6469 82cf41ae8b89
child 6482 80ddc3973819
child 6495 3187112bc7cc
[book] small note about test/data/schema.py
doc/book/en/devrepo/testing.rst
--- a/doc/book/en/devrepo/testing.rst	Wed Oct 13 08:37:09 2010 +0200
+++ b/doc/book/en/devrepo/testing.rst	Wed Oct 13 11:00:22 2010 +0200
@@ -327,7 +327,7 @@
 Sometimes a small component cannot be tested all by itself, so one
 needs to specify other cubes to be used as part of the the unit test
 suite. This is handled by the ``bootstrap_cubes`` file located under
-``mycube\test\data``. One example from the `preview` cube::
+``mycube/test/data``. One example from the `preview` cube::
 
  card, file, preview
 
@@ -336,6 +336,10 @@
 * possibly several empy lines or lines starting with ``#`` (comment lines)
 * one line containing a coma separated list of cube names.
 
+It is also possible to add a ``schema.py`` file in
+``mycube/test/data``, which will be used by the testing framework,
+therefore making new entity types and relations available to the
+tests. 
 
 Test APIS
 ---------