added test case to monitor speed improvements in the repository code.
To use it, add a test in a patch, then hack CW to speed it up in another patch,
updating the test if needed. By running the test with and without the second
patch applied you can easily see the speed improvements
# Run all scenarii found in windmill directory
from os.path import join, dirname
from cubicweb.devtools.cwwindmill import (CubicWebWindmillUseCase,
unittest_main)
class CubicWebWindmillUseCase(CubicWebWindmillUseCase):
#test_dir = join(dirname(__file__), "windmill/test_edit_relation.py")
pass
if __name__ == '__main__':
unittest_main()