summaryrefslogtreecommitdiff
path: root/tests/integration/shell.py
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-06-05 16:34:40 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-06-06 10:44:56 +0000
commitf68680b668386dc48b5c0454d0eec8660e80ebdb (patch)
treebd25cb0620e773a18a4b165bec0a7545cf257674 /tests/integration/shell.py
parent2e755c87427a4896b4e959d7e5741b85558d6274 (diff)
downloadbuildstream-f68680b668386dc48b5c0454d0eec8660e80ebdb.tar.gz
tests/integration: Silence all 'redefined-outer-name' pylint errors
This is due to pytest fixtures having to be named the same as the test arguments. This is a pre-requisite to enable pylint on this directory We need to do this per file as we can't blanket disable for directories. See upstream issue: https://github.com/PyCQA/pylint/issues/618
Diffstat (limited to 'tests/integration/shell.py')
-rw-r--r--tests/integration/shell.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/integration/shell.py b/tests/integration/shell.py
index a9fb4855a..ab5fa8ad2 100644
--- a/tests/integration/shell.py
+++ b/tests/integration/shell.py
@@ -1,3 +1,6 @@
+# Pylint doesn't play well with fixtures and dependency injection from pytest
+# pylint: disable=redefined-outer-name
+
import os
import pytest