======================================================================
ERROR: test_expanduser (lpsetup.tests.test_handlers.HandleTargetDirTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tarmac/repos/lpsetup/trunk/lpsetup/tests/test_handlers.py", line 301, in test_expanduser
handle_target_dir(namespace)
File "/home/tarmac/repos/lpsetup/trunk/lpsetup/handlers.py", line 285, in handle_target_dir
target_dir))
ValidationError: the target dir /tmp/tmpEnzWL8 does not exist or is not a directory.
The attempt to merge lp:~frankban/lpsetup/bug-1034602-handle-target-dir into lp:lpsetup failed. Below is the output from the failed tests.
+ set -o errexit tests/utils. py tests/_ _init__ .py tests/test_ lxcip.py tests/test_ helpers. py tests/test_ utils.py __init_ _.py handlers. py tests/utils. py tests/_ _init__ .py tests/test_ argparser. py tests/test_ cli.py tests/test_ handlers. py tests/subcomman ds/__init_ _.py tests/subcomman ds/test_ version. py tests/subcomman ds/test_ initrepo. py tests/subcomman ds/test_ init_target. py tests/subcomman ds/test_ smoke.py tests/integrati on/common. py tests/integrati on/test_ install_ lxc.py tests/integrati on/test_ init_target. py tests/test_ utils.py subcommands/ __init_ _.py subcommands/ install_ lxc.py subcommands/ initlxc. py subcommands/ init_target. py subcommands/ update. py subcommands/ initrepo. py subcommands/ version. py exceptions. py argparser. py settings. py tests/utils. py ./lplxcip/ tests/_ _init__ .py ./lplxcip/ tests/test_ lxcip.py ./lplxcip/ tests/test_ helpers. py ./lplxcip/ tests/test_ utils.py ./lplxcip/lxcip.py ./lpsetup/utils.py ./lpsetup/ __init_ _.py ./lpsetup/ handlers. py ./lpsetup/ tests/utils. py ./lpsetup/ tests/_ _init__ .py ./lpsetup/ tests/test_ argparser. py ./lpsetup/ tests/test_ cli.py ./lpsetup/ tests/test_ handlers. py ./lpsetup/ tests/subcomman ds/__init_ _.py ./lpsetup/ tests/subcomman ds/test_ version. py ./lpsetup/ tests/subcomman ds/test_ initrepo. py ./lpsetup/ tests/subcomman ds/test_ init_target. py ./lpsetup/ tests/subcomman ds/test_ smoke.py ./lpsetup/ tests/integrati on/common. py ./lpsetup/ tests/integrati on/test_ install_ lxc.py ./lpsetup/ tests/integrati on/test_ init_target. py ./lpsetup/ tests/test_ utils.py ./lpsetup/ subcommands/ __init_ _.py ./lpsetup/ subcommands/ install_ lxc.py ./lpsetup/ subcommands/ initlxc. py ./lpsetup/ subcommands/ init_target. py ./lpsetup/ subcommands/ update. py ./lpsetup/ subcommands/ initrepo. py ./lpsetup/ subcommands/ version. py ./lpsetup/ exceptions. py ./lpsetup/ argparser. py ./lpsetup/ settings. py ./lpsetup/cli.py tests/utils. py ./lplxcip/ tests/_ _init__ .py ./lplxcip/ tests/test_ lxcip.py ./lplxcip/ tests/test_ helpers. py ./lplxcip/ tests/test_ utils.py ./lplxcip/lxcip.py ./lpsetup/utils.py ./lpsetup/ __init_ _.py ./lpsetup/ handlers. py ./lpsetup/ tests/utils. py ./lpsetup/ tests/_ _init__ .py ./lpsetup/ tests/test_ argparser. py ./lpsetup/ tests/test_ cli.py ./lpsetup/ tests/test_ handlers. py ./lpsetup/ tests/subcomman ds/__init_ _.py ./lpsetup/ tests/subcomman ds/test_ version. py ./lpsetup/ tests/subcomman ds/test_ initrepo. py ./lpsetup/ tests/subcomman ds/test_ init_target. py ./lpsetup/ tests/subcomman ds/test_ smoke.py ./lpsetup/ tests/integrati on/common. py ./lpsetup/ tests/integrati on/test_ install_ lxc.py ./lpsetup/ tests/integrati on/test_ init_target. py ./lpsetup/ tests/test_ utils.py ./lpsetup/ subcommands/ __init_ _.py ./lpsetup/ subcommands/ install_ lxc.py ./lpsetup/ subcommands/ initlxc. py ./lpsetup/ subcommands/ init_target. py ./lpsetup/ subcommands/ update. py ./lpsetup/ subcommands/ initrepo. py ./lpsetup/ subcommands/ version. py ./lpsetup/ exceptions. py ./lpsetup/ argparser. py ./lpsetup/ settings. py ./lpsetup/cli.py ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... .E.E... ....... ....... ....... ....... ....... ....... ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.test_ handlers. HandleTargetDir Test) ------- ------- ------- ------- ------- ------- ------- ------- ------- tarmac/ repos/lpsetup/ trunk/lpsetup/ tests/test_ handlers. py", line 294, in test_absolute_path target_ dir(namespace) tarmac/ repos/lpsetup/ trunk/lpsetup/ handlers. py", line 285, in handle_target_dir
++ grep -v distribute_setup.py
++ find . -name build -prune -o -name '*.py'
+ pyfiles='./setup.py
./lplxcip/
./lplxcip/
./lplxcip/
./lplxcip/
./lplxcip/
./lplxcip/lxcip.py
./lpsetup/utils.py
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/cli.py'
+ pocketlint ./setup.py ./lplxcip/
+ pep8 --exclude=build ./setup.py ./lplxcip/
+ nosetests
.......
=======
ERROR: test_absolute_path (lpsetup.
-------
Traceback (most recent call last):
File "/home/
handle_
File "/home/
target_dir))
ValidationError: the target dir /tmp/tmpHyCGig does not exist or is not a directory.
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.test_ handlers. HandleTargetDir Test) ------- ------- ------- ------- ------- ------- ------- ------- ------- tarmac/ repos/lpsetup/ trunk/lpsetup/ tests/test_ handlers. py", line 301, in test_expanduser target_ dir(namespace) tarmac/ repos/lpsetup/ trunk/lpsetup/ handlers. py", line 285, in handle_target_dir
ERROR: test_expanduser (lpsetup.
-------
Traceback (most recent call last):
File "/home/
handle_
File "/home/
target_dir))
ValidationError: the target dir /tmp/tmpEnzWL8 does not exist or is not a directory.
Name Stmts Miss Cover Missing ------- ------- ------- ------- ------- ------- ------- ------- subcommands. init_target 132 50 62% 101, 138-142, 152-177, 198-205, 222-240, 246, 251-259, 268-272 subcommands. initlxc 91 44 52% 63-67, 82-126, 139, 146-147, 160-205, 214-217, 224-226 subcommands. initrepo 73 10 86% 64-66, 73, 78-80, 87-89 subcommands. install_ lxc 66 34 48% 44-46, 55-81, 91-92, 98-107, 117-121, 131-140 subcommands. update 49 18 63% 34-35, 44-63, 74-75, 86-88 subcommands. version 11 0 100% ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -------
-------
lpsetup 6 0 100%
lpsetup.argparser 123 2 98% 226, 255
lpsetup.cli 79 8 90% 65-66, 83-85, 121-122, 179
lpsetup.exceptions 6 0 100%
lpsetup.handlers 96 1 99% 244
lpsetup.settings 33 0 100%
lpsetup.subcommands 0 0 100%
lpsetup.
lpsetup.
lpsetup.
lpsetup.
lpsetup.
lpsetup.
lpsetup.utils 190 41 78% 122, 189, 243-253, 268, 307-314, 336, 346, 362-370, 387-393, 408-410, 422-428
-------
TOTAL 955 208 78%
-------
Ran 168 tests in 14.739s
FAILED (errors=2)