summaryrefslogtreecommitdiff
path: root/tests/unit/test_cross_crd.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/test_cross_crd.py')
-rw-r--r--tests/unit/test_cross_crd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test_cross_crd.py b/tests/unit/test_cross_crd.py
index 442277f51..42d86275b 100644
--- a/tests/unit/test_cross_crd.py
+++ b/tests/unit/test_cross_crd.py
@@ -669,7 +669,7 @@ class TestGithubToGerritCRD(ZuulTestCase):
# should not be processed in dependent pipeline
self.assertFalse(A.is_merged)
self.assertEqual(B.data['status'], 'NEW')
- self.assertEqual(len(A.comments), 0)
+ self.assertEqual(len(A.comments), 1)
self.assertEqual(B.reported, 0)
self.assertEqual(len(self.history), 0)
@@ -688,7 +688,7 @@ class TestGithubToGerritCRD(ZuulTestCase):
self.waitUntilSettled()
self.assertTrue(A.is_merged)
- self.assertEqual(len(A.comments), 2)
+ self.assertEqual(len(A.comments), 3)
self.assertEqual(B.data['status'], 'MERGED')
self.assertEqual(B.reported, 0)