4fcbdd7740
This causes non-local side effects that are hard to track down. E.g: --- import errors --- Failed to import test module: tests.test_merge_yaml Traceback (most recent call last): File "/home/will/.pyenv/versions/3.7.7/lib/python3.7/unittest/loader.py", line 436, in _find_test_path module = self._get_module_from_name(name) File "/home/will/.pyenv/versions/3.7.7/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name __import__(name) File "/home/will/code/kolla-ansible/tests/test_merge_yaml.py", line 19, in <module> from ansible.errors import AnsibleModuleError ModuleNotFoundError: No module named 'ansible.errors'; 'ansible' is not a package This `'ansible' is not a package` message occurs because ansible is a Mock. Depends-On: https://review.opendev.org/#/c/726768/ Change-Id: Iddbdd3d855daadbf12536cc990559e6b8e123051
15 lines
298 B
Plaintext
15 lines
298 B
Plaintext
# linting
|
|
bandit>=1.1.0 # Apache-2.0
|
|
bashate>=0.5.1 # Apache-2.0
|
|
doc8>=0.6.0 # Apache-2.0
|
|
hacking>=3.0,<3.1.0 # Apache-2.0
|
|
|
|
# coverage testing
|
|
coverage!=4.4,>=4.0 # Apache-2.0
|
|
|
|
# unit testing
|
|
docker>=2.4.2 # Apache-2.0
|
|
oslotest>=3.2.0 # Apache-2.0
|
|
stestr>=2.0.0 # Apache-2.0
|
|
ansible>=2.8.0 # GPLv3
|