aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/base-images/base-builder/detect_repo_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'infra/base-images/base-builder/detect_repo_test.py')
-rw-r--r--infra/base-images/base-builder/detect_repo_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/infra/base-images/base-builder/detect_repo_test.py b/infra/base-images/base-builder/detect_repo_test.py
index 96f4c9ec..21f64af4 100644
--- a/infra/base-images/base-builder/detect_repo_test.py
+++ b/infra/base-images/base-builder/detect_repo_test.py
@@ -36,6 +36,8 @@ import test_repos
# pylint: enable=wrong-import-position
+@unittest.skipIf(not os.getenv('INTEGRATION_TESTS'),
+ 'INTEGRATION_TESTS=1 not set')
class DetectRepoIntegrationTest(unittest.TestCase):
"""Class to test the functionality of the detect_repo module."""