site_cubicweb.py
author David Douard <david.douard@logilab.fr>
Wed, 14 May 2014 22:28:57 +0200
changeset 1520 0abe241164e2
parent 512 d10afd44fd81
permissions -rw-r--r--
[test] fix tests when executed in an apycot environment ie. when tests are executed from sources towards an installed apycot. The fix consist mainly in "moving" the input_path function from testutils.py (which is part of the installed modules) into unittest_checkers.py so we are sure we look for test data files relatively to the test directory (and not the location of the installation).

# XXX only for all-in-one or repository config
options = (
    ('test-master',
     {'type' : 'yn',
      'default' : True,
      'help': ('Is the repository responsible to automatically start test? '
               'You should say yes unless you use a multiple repositories '
               'setup, in which case you should say yes on one repository, '
               'no on others'),
      'group': 'apycot', 'level': 1,
      }),
    )