diff options
Diffstat (limited to 'tests/artifactcache/pull.py')
-rw-r--r-- | tests/artifactcache/pull.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/artifactcache/pull.py b/tests/artifactcache/pull.py index cdadf583a..d5f2c1f06 100644 --- a/tests/artifactcache/pull.py +++ b/tests/artifactcache/pull.py @@ -1,3 +1,6 @@ +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import multiprocessing import os import signal @@ -8,7 +11,7 @@ from buildstream import _yaml, _signals, utils from buildstream._context import Context from buildstream._project import Project from buildstream._protos.build.bazel.remote.execution.v2 import remote_execution_pb2 -from buildstream.testing import cli +from buildstream.testing import cli # pylint: disable=unused-import from tests.testutils import create_artifact_share @@ -200,7 +203,6 @@ def test_pull_tree(cli, tmpdir, datafiles): # Load the project and CAS cache project = Project(project_dir, context) project.ensure_fully_loaded() - artifactcache = context.artifactcache cas = context.get_cascache() # Assert that the element's artifact is cached |