Skip to content

Commit

Permalink
Remove NO_COLOR from conftest.py (#3349)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Apr 26, 2023
1 parent c1e515e commit 30f30d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,3 @@
pytest.fail(
"FATAL: For testing, we require pyyaml to be installed with its native extension, missing it would make testing 3x slower and risk missing essential bugs.",
)


os.environ["NO_COLOR"] = "1"
1 change: 1 addition & 0 deletions test/test_cli_role_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def test_run_playbook(local_test_dir: str) -> None:

env = os.environ.copy()
env["ANSIBLE_ROLES_PATH"] = role_path
env["NO_COLOR"] = "1"

result = run_ansible_lint("-f", "pep8", lintable, cwd=cwd, env=env)
# All 4 failures are expected to be found inside the included role and not
Expand Down

0 comments on commit 30f30d0

Please sign in to comment.