summaryrefslogtreecommitdiff
path: root/tests/artifactcache/expiry.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/artifactcache/expiry.py')
-rw-r--r--tests/artifactcache/expiry.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/artifactcache/expiry.py b/tests/artifactcache/expiry.py
index 6aa518f1a..b163903cb 100644
--- a/tests/artifactcache/expiry.py
+++ b/tests/artifactcache/expiry.py
@@ -17,6 +17,9 @@
# Authors: Tristan Maat <tristan.maat@codethink.co.uk>
#
+# Pylint doesn't play well with fixtures and dependency injection from pytest
+# pylint: disable=redefined-outer-name
+
import os
import re
from unittest import mock
@@ -24,7 +27,7 @@ from unittest import mock
import pytest
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.testing import cli
+from buildstream.testing import cli # pylint: disable=unused-import
from tests.testutils import create_element_size, update_element_size, wait_for_cache_granularity