Commit d7c3e215 by Daniel Eades Committed by Bjorn Neergaard

lint and fix pep8 naming conventions

parent 25cc6a1f
......@@ -38,6 +38,7 @@ repos:
- flake8-quotes==3.3.1
- flake8-tidy-imports==4.5.0
- flake8-typing-imports==1.11.0
- pep8-naming==0.12.1
- repo: https://github.com/pycqa/isort
rev: 5.10.1
......
......@@ -646,11 +646,11 @@ def test_run_with_input(tmp_dir, tmp_venv):
def test_run_with_input_non_zero_return(tmp_dir, tmp_venv):
with pytest.raises(EnvCommandError) as processError:
with pytest.raises(EnvCommandError) as process_error:
# Test command that will return non-zero returncode.
tmp_venv.run("python", "-", input_=ERRORING_SCRIPT)
assert processError.value.e.returncode == 1
assert process_error.value.e.returncode == 1
def test_run_with_keyboard_interrupt(tmp_dir, tmp_venv, mocker):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment