bin/cubicweb-ctl
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Thu, 28 Mar 2019 11:39:36 +0100
changeset 12627 3648a2c293f6
parent 12253 9165f4b7426b
child 12779 44147dab9d27
permissions -rwxr-xr-x
[server/test] make test filename uniques To avoid these pytest error when collecting the whole test suite: import file mismatch: imported module 'unittest_utils' has this __file__ attribute: cubicweb/cubicweb/server/test/unittest_utils.py which is not the same as the test file we want to collect: cubicweb/cubicweb/test/unittest_utils.py Move cubicweb/server/test/unittest_security.py to cubicweb/server/test/unittest_security.py and cubicweb/test/unittest_utils.py to cubicweb/test/unittest_server_utils.py

#!/usr/bin/env python
from cubicweb.cwctl import run
run()