From cb716e3186282cf8f966c5cb2b8e6e8ad299d56e Mon Sep 17 00:00:00 2001 From: Paul Gevers Date: Sun, 1 Apr 2018 21:49:07 +0200 Subject: [PATCH] Don't excuse.force() on skiptest hint --- britney2/policies/autopkgtest.py | 1 - tests/test_autopkgtest.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/britney2/policies/autopkgtest.py b/britney2/policies/autopkgtest.py index 124a7dd..5018c3a 100644 --- a/britney2/policies/autopkgtest.py +++ b/britney2/policies/autopkgtest.py @@ -291,7 +291,6 @@ class AutopkgtestPolicy(BasePolicy): excuse.addreason('skiptest') excuse.addhtml("Should wait for tests relating to %s %s, but forced by %s" % (source_name, source_data_srcdist.version, hints[0].user)) - excuse.force() verdict = PolicyVerdict.PASS_HINTED else: excuse.addreason('autopkgtest') diff --git a/tests/test_autopkgtest.py b/tests/test_autopkgtest.py index 01ec9d1..ef9eb72 100644 --- a/tests/test_autopkgtest.py +++ b/tests/test_autopkgtest.py @@ -1855,7 +1855,7 @@ class T(TestBase): }), }, {'green': [('old-version', '1'), ('new-version', '2'), - ('forced-reason', 'skiptest'), + ('reason', 'skiptest'), ('excuses', 'Should wait for tests relating to green 2, but forced by autopkgtest')] })