summaryrefslogtreecommitdiff
path: root/tests/integration/source-determinism.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/source-determinism.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/source-determinism.py')
-rw-r--r--tests/integration/source-determinism.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/integration/source-determinism.py b/tests/integration/source-determinism.py
index 5bb0941d1..948bbdad9 100644
--- a/tests/integration/source-determinism.py
+++ b/tests/integration/source-determinism.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