tests/test_autopkgtest.py: some PEP-8 fixes

bzr-import-20160707
Martin Pitt 9 years ago
parent cbb79a9171
commit f9802e9b49

@ -1333,7 +1333,7 @@ class T(TestBase):
[('libgreen1', {'Version': '2', 'Source': 'green', 'Depends': 'libc6'}, 'autopkgtest')],
{'green': (False, {'green 2': {'amd64': 'PASS', 'i386': 'PASS'},
'lightgreen 1': {'i386': 'IGNORE-FAIL'},
'lightgreen 2': {'amd64': 'REGRESSION',},
'lightgreen 2': {'amd64': 'REGRESSION'},
'darkgreen 1': {'amd64': 'PASS', 'i386': 'PASS'},
}),
},
@ -1347,7 +1347,7 @@ class T(TestBase):
[],
{'green': (True, {'green 2': {'amd64': 'PASS', 'i386': 'PASS'},
'lightgreen 1': {'i386': 'IGNORE-FAIL'},
'lightgreen 2': {'amd64': 'IGNORE-FAIL',},
'lightgreen 2': {'amd64': 'IGNORE-FAIL'},
'darkgreen 1': {'amd64': 'PASS', 'i386': 'PASS'},
}),
},
@ -1777,7 +1777,8 @@ class T(TestBase):
'http://localhost:18085/autopkgtest-series-awesome-developers-staging/series/i386/l/lightgreen/20150101_100100@/log.gz',
None,
'http://localhost:18085/autopkgtest-series-awesome-developers-staging/series/i386/l/lightgreen/20150101_100100@/artifacts.tar.gz',
'https://autopkgtest.ubuntu.com/request.cgi?release=series&arch=i386&package=lightgreen&trigger=lightgreen%2F2&ppa=joe%2Ffoo&ppa=awesome-developers%2Fstaging']}
'https://autopkgtest.ubuntu.com/request.cgi?release=series&arch=i386&package=lightgreen&'
'trigger=lightgreen%2F2&ppa=joe%2Ffoo&ppa=awesome-developers%2Fstaging']}
}})
self.assertEqual(self.amqp_requests, set())
self.assertEqual(self.pending_requests, {})

Loading…
Cancel
Save