1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/pip
Till Maas bb85bbceeb pip: combine chdir and env only when env is set (#40793)
* pip: combine chdir and env only when env is set

This fixes an AttributeError when chdir without virtualenv is specified:

 File "/tmp/ansible_2UAFsZ/ansible_module_pip.py", line 387, in main
    env = os.path.join(chdir, env)
 File "/usr/lib64/python2.7/posixpath.py", line 75, in join
    if b.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'

* Add test for pip with chdir

Signed-off-by: Till Maas <opensource@till.name>
2018-08-13 19:59:01 +02:00
..
files pip: combine chdir and env only when env is set (#40793) 2018-08-13 19:59:01 +02:00
meta Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
tasks pip: combine chdir and env only when env is set (#40793) 2018-08-13 19:59:01 +02:00
vars Default squash actions add pip (#41390) 2018-06-11 19:58:13 -04:00
aliases Update Shippable integration test groups. (#43118) 2018-07-23 20:46:22 -07:00