web/test/test_windmill.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 21 Apr 2011 12:35:41 +0200
branchstable
changeset 7342 d1c8b5b3531c
parent 7059 1d65b235549f
permissions -rw-r--r--
adds support for a portable db import/export format (closes: #1521112) the db-dump and db-restore cwctl commands are enhanced with a --format option (defaults to 'native'). If the format is 'portable', then the system database dump / restore is performed using pure SQL queries and the storage uses picked Python objects in a zip archive.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6424
f443a2b8a5c7 [devtools] refactor http server initialization in a much saner way
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 5995
diff changeset
     1
# Run all scenarii found in windmill directory
7059
1d65b235549f [tests] Fix web test for windmill and forms
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 7007
diff changeset
     2
from os.path import join, dirname
6424
f443a2b8a5c7 [devtools] refactor http server initialization in a much saner way
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 5995
diff changeset
     3
from cubicweb.devtools.cwwindmill import (CubicWebWindmillUseCase,
f443a2b8a5c7 [devtools] refactor http server initialization in a much saner way
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 5995
diff changeset
     4
                                          unittest_main)
5675
4535f8e57580 [web test] add basic windmill tests and documentation
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     5
7059
1d65b235549f [tests] Fix web test for windmill and forms
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 7007
diff changeset
     6
class CubicWebWindmillUseCase(CubicWebWindmillUseCase):
1d65b235549f [tests] Fix web test for windmill and forms
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 7007
diff changeset
     7
    #test_dir = join(dirname(__file__), "windmill/test_edit_relation.py")
1d65b235549f [tests] Fix web test for windmill and forms
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 7007
diff changeset
     8
    pass
1d65b235549f [tests] Fix web test for windmill and forms
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 7007
diff changeset
     9
7007
3804794b1ccd [web test] ensure we're using proper instance home
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 6424
diff changeset
    10
5675
4535f8e57580 [web test] add basic windmill tests and documentation
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    11
if __name__ == '__main__':
6424
f443a2b8a5c7 [devtools] refactor http server initialization in a much saner way
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 5995
diff changeset
    12
    unittest_main()