mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-18 05:51:32 +00:00
test_boottest.py: PEP-8 fixes
This commit is contained in:
parent
52ae2eca09
commit
69bf766a7a
@ -55,6 +55,7 @@ class TestTouchManifest(unittest.TestCase):
|
|||||||
]
|
]
|
||||||
self.addCleanup(_p.stop)
|
self.addCleanup(_p.stop)
|
||||||
self.fetch_retries_orig = boottest.FETCH_RETRIES
|
self.fetch_retries_orig = boottest.FETCH_RETRIES
|
||||||
|
|
||||||
def restore_fetch_retries():
|
def restore_fetch_retries():
|
||||||
boottest.FETCH_RETRIES = self.fetch_retries_orig
|
boottest.FETCH_RETRIES = self.fetch_retries_orig
|
||||||
boottest.FETCH_RETRIES = 0
|
boottest.FETCH_RETRIES = 0
|
||||||
@ -238,7 +239,7 @@ args.func()
|
|||||||
self.data.add(pkg, True, fields)
|
self.data.add(pkg, True, fields)
|
||||||
self.make_boottest()
|
self.make_boottest()
|
||||||
(excuses, out) = self.run_britney()
|
(excuses, out) = self.run_britney()
|
||||||
#print('-------\nexcuses: %s\n-----' % excuses)
|
# print('-------\nexcuses: %s\n-----' % excuses)
|
||||||
if expect:
|
if expect:
|
||||||
for re in expect:
|
for re in expect:
|
||||||
self.assertRegexpMatches(excuses, re)
|
self.assertRegexpMatches(excuses, re)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user