mirror of
https://github.com/gryf/ferrit.git
synced 2026-02-08 09:25:52 +01:00
Added more tests for change merged and comment added events
This commit is contained in:
13
tests/test_comment_added.py
Normal file
13
tests/test_comment_added.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import json
|
||||
|
||||
from tests import base
|
||||
|
||||
|
||||
class TestCommentAdded(base.BaseTestCase):
|
||||
|
||||
def test_recheck(self):
|
||||
result = self._send_and_get_response('comment-added')
|
||||
|
||||
self.assertTrue(result)
|
||||
result = json.loads(result)
|
||||
self.assertEqual(result['labels']['Verified'], 1)
|
||||
Reference in New Issue
Block a user