mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-01 09:50:33 +08:00
Trying to debug jenkins failures.
Tests pass locally, but fail in jenkins for some reason. Trying to add more debug info here to figure out why....
This commit is contained in:
@@ -219,6 +219,7 @@ class TestViews(unittest.TestCase):
|
||||
'testmodule.git?#68931c90de214d9d13feefbd35246a81b6cb8d49'}))
|
||||
data = json.loads(rv.data)
|
||||
|
||||
assert 'component_builds' in data, data
|
||||
self.assertEquals(data['component_builds'], [61])
|
||||
self.assertEquals(data['name'], 'fakemodule')
|
||||
self.assertEquals(data['scmurl'],
|
||||
@@ -375,6 +376,7 @@ class TestViews(unittest.TestCase):
|
||||
'testmodule.git?#68931c90de214d9d13feefbd35246a81b6cb8d49'}))
|
||||
data = json.loads(rv.data)
|
||||
|
||||
assert 'component_builds' in data, data
|
||||
self.assertEquals(data['component_builds'], [61, 62])
|
||||
self.assertEquals(data['name'], 'fakemodule')
|
||||
self.assertEquals(data['scmurl'],
|
||||
|
||||
Reference in New Issue
Block a user