mirror of
https://github.com/cve-search/PyVulnerabilityLookup.git
synced 2025-01-18 18:46:19 +00:00
fix: check title from new comment, take 2
This commit is contained in:
parent
100bae2805
commit
6ffcbc37e6
1 changed files with 1 additions and 0 deletions
|
@ -326,6 +326,7 @@ class TestPublic(unittest.TestCase):
|
||||||
created_comment = self.client.create_comment(comment=comment)
|
created_comment = self.client.create_comment(comment=comment)
|
||||||
new_comment_uuid = created_comment['data'][0]['uuid']
|
new_comment_uuid = created_comment['data'][0]['uuid']
|
||||||
comment = self.client.get_comment(new_comment_uuid)
|
comment = self.client.get_comment(new_comment_uuid)
|
||||||
|
self.assertTrue(comment.get('title'), comment)
|
||||||
self.assertEqual(comment['title'], 'test', comment)
|
self.assertEqual(comment['title'], 'test', comment)
|
||||||
deleted_comment = self.client.delete_comment(new_comment_uuid)
|
deleted_comment = self.client.delete_comment(new_comment_uuid)
|
||||||
self.assertTrue(deleted_comment < 300)
|
self.assertTrue(deleted_comment < 300)
|
||||||
|
|
Loading…
Add table
Reference in a new issue