Adapt check_source test to latest source validator output
This commit is contained in:
parent
8b9933edfb
commit
f18f3f16aa
@ -364,7 +364,7 @@ class TestCheckSource(OBSLocal.TestCase):
|
|||||||
self.review_bot.check_requests()
|
self.review_bot.check_requests()
|
||||||
|
|
||||||
review = self.assertReview(req_id, by_user=(self.bot_user, 'declined'))
|
review = self.assertReview(req_id, by_user=(self.bot_user, 'declined'))
|
||||||
self.assertEqual("Attention, README is not mentioned in spec files as source or patch.", review.comment)
|
self.assertEqual("Attention, \"README\" is not mentioned in spec files as source or patch.", review.comment)
|
||||||
|
|
||||||
@pytest.mark.usefixtures("default_config")
|
@pytest.mark.usefixtures("default_config")
|
||||||
def test_source_urls(self):
|
def test_source_urls(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user