From 177b65d6741de92511ed6188d25a8da52c666c11 Mon Sep 17 00:00:00 2001 From: Paul Gevers Date: Thu, 21 Nov 2019 11:40:00 +0100 Subject: [PATCH] autopkgtest: also test for autodep8 for migration runs --- britney2/policies/autopkgtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney2/policies/autopkgtest.py b/britney2/policies/autopkgtest.py index 2621a35..330b9e1 100644 --- a/britney2/policies/autopkgtest.py +++ b/britney2/policies/autopkgtest.py @@ -1064,7 +1064,7 @@ class AutopkgtestPolicy(BasePolicy): test_in_target = False try: srcinfo = self.suite_info.target_suite.sources[src] - if 'autopkgtest' in srcinfo.testsuite: + if 'autopkgtest' in srcinfo.testsuite or self.has_autodep8(srcinfo): test_in_target = True except KeyError: pass