Skip to content

Feature/deploy target config bug fix #137

Feature/deploy target config bug fix

Feature/deploy target config bug fix #137

GitHub Actions / ansible-test (3.10) results failed Mar 20, 2024 in 0s

16 tests run, 15 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 7 in tests/unit/plugins/action/test_determine_updates_required.py

See this annotation in the file changed.

@github-actions github-actions / ansible-test (3.10) results

tests/unit/plugins/action/test_determine_updates_required.py.tests.unit.plugins.action.test_determine_updates_required

collection failure
Raw output
ImportError while importing test module '/home/runner/work/lagoon_ansible_collection/lagoon_ansible_collection/ansible_collections/lagoon/api/tests/unit/plugins/action/test_determine_updates_required.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/ansible_test/_util/target/pytest/plugins/ansible_pytest_collections.py:69: in exec_module
    assertion_rewriting_hook.exec_module(module)
tests/unit/plugins/action/test_determine_updates_required.py:7: in <module>
    from .....plugins.action.deploy_target_config import determine_required_updates
E   ImportError: cannot import name 'determine_required_updates' from 'ansible_collections.lagoon.api.plugins.action.deploy_target_config' (/home/runner/work/lagoon_ansible_collection/lagoon_ansible_collection/ansible_collections/lagoon/api/plugins/action/deploy_target_config.py)