1
0
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:
2019-11-01 12:59:04 +01:00
parent 7338d4f5c3
commit fc46096cf2
4 changed files with 52 additions and 3 deletions

View 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)