diff --git a/awx/main/tests/functional/test_python_requirements.py b/awx/main/tests/functional/test_python_requirements.py index 33b3be59b90e..535cf0572169 100644 --- a/awx/main/tests/functional/test_python_requirements.py +++ b/awx/main/tests/functional/test_python_requirements.py @@ -21,6 +21,7 @@ def test_bootstrap_consistent(): with open('requirements/requirements.txt', 'r') as f: req_data = f.read() + different_requirements = [] for req in bootstrap_reqs: boot_req_name, _ = req.split('=', 1) for line in req_data.split('\n'): @@ -28,9 +29,11 @@ def test_bootstrap_consistent(): continue req_name, _ = line.split('=', 1) if req_name == boot_req_name: - assert req == line + different_requirements.append((req, line)) break + assert not different_requirements + @pytest.mark.skip(reason="This test needs some love") def test_env_matches_requirements_txt():