mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-14 12:41:15 +00:00
Fix autopkgtests wrt the fact that excuses is no longer in the yaml
This commit is contained in:
parent
00a097f497
commit
bf26a09948
@ -199,7 +199,6 @@ class T(TestBase):
|
||||
{'lightgreen': (False, {})},
|
||||
{'lightgreen': [('old-version', '1'), ('new-version', '1.1~beta'),
|
||||
('reason', 'depends'),
|
||||
('excuses', 'lightgreen/amd64 unsatisfiable Depends: libgreen1 (>= 2)')
|
||||
]
|
||||
})[1]
|
||||
# autopkgtest should not be triggered for uninstallable pkg
|
||||
@ -830,8 +829,7 @@ class T(TestBase):
|
||||
},
|
||||
{'green': [('old-version', '1'), ('new-version', '2')],
|
||||
'brokengreen': [('old-version', '-'), ('new-version', '1'),
|
||||
('reason', 'depends'),
|
||||
('excuses', 'brokengreen/amd64 unsatisfiable Depends: nonexisting')],
|
||||
('reason', 'depends')],
|
||||
})[1]
|
||||
# autopkgtest should not be triggered for uninstallable pkg
|
||||
self.assertEqual(exc['brokengreen']['policy_info']['autopkgtest'], {})
|
||||
@ -1476,7 +1474,6 @@ class T(TestBase):
|
||||
{'lightgreen': (False, {})},
|
||||
{'lightgreen': [('old-version', '1'), ('new-version', '0.9~beta'),
|
||||
('reason', 'newerintesting'),
|
||||
('excuses', 'ALERT: lightgreen is newer in testing (1 0.9~beta)')
|
||||
]
|
||||
})[1]
|
||||
|
||||
@ -1719,8 +1716,7 @@ class T(TestBase):
|
||||
}),
|
||||
},
|
||||
{'green': [('old-version', '1'), ('new-version', '2'),
|
||||
('forced-reason', 'skiptest'),
|
||||
('excuses', 'Should wait for tests relating to green 2, but forced by pitti')]
|
||||
('forced-reason', 'skiptest')]
|
||||
})
|
||||
|
||||
def test_hint_force_skiptest_different_version(self):
|
||||
@ -1782,7 +1778,6 @@ class T(TestBase):
|
||||
[('darkgreen', {'Version': '2'}, 'autopkgtest')],
|
||||
{'darkgreen': (False, {'darkgreen': {'i386': 'RUNNING-ALWAYSFAIL', 'amd64': 'RUNNING-ALWAYSFAIL'}})},
|
||||
{'darkgreen': [('reason', 'block'),
|
||||
('excuses', 'Not touching package as requested in <a href="https://launchpad.net/bugs/12345">bug 12345</a> on Thu Aug 18 07:23:20 2016'),
|
||||
('is-candidate', False),
|
||||
]
|
||||
}
|
||||
@ -1970,7 +1965,6 @@ class T(TestBase):
|
||||
'linux-firmware': (True, {'linux-firmware/2': {'amd64': 'PASS', 'i386': 'PASS'}}),
|
||||
},
|
||||
{'linux': [('reason', 'depends'),
|
||||
('excuses', 'Invalidated by dependency'),
|
||||
('dependencies', {'blocked-by': ['linux-meta']})]
|
||||
}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user