testfunc/test/test_windmill.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Thu, 28 Mar 2013 11:45:17 +0100 (2013-03-28)
brancholdstable
changeset 8818 d8b0984c923c
parent 7363 2293c49b290a
permissions -rw-r--r--
[migration] fix bug in `CWAttributeAddOp.revertprecommit_event` The `rdefdef` attribute is set during the operation execution. In some the operation crash before this assignment. In such case `revertprecommit` raise an attribute error crashing the whole process and shadowing the original error. This changeset detect and Avoid this situation.
# 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()