def test_create_comment_no_context(self):
    filename = 'file2'
    data = self.comments_data[filename][0]
    c = comment.Comment(data, filename)
    self.assertEqual('4', c.id)
    self.assertEqual('3', c.patch_set)
    self.assertEqual(None, c.parent)
    self.assertEqual('Name1', c.author)
    self.assertEqual('A file comment', c.message)
    self.assertEqual('2021-04-24', c.date)
    self.assertEqual(filename, c.file)
    self.assertEqual('', c.context[0])
    self.assertEqual('', c.context[1])
    self.assertEqual('', c.context[2])
def test_create_comment_no_context(self):
    filename = 'file2'
    data = self.comments_data[filename][0]
    c = comment.Comment(data, filename)
    self.assertEqual('4', c.id)
    self.assertEqual('3', c.patch_set)
    self.assertEqual(None, c.parent)
    self.assertEqual('Name1', c.author)
    self.assertEqual('A file comment', c.message)
    self.assertEqual('2021-04-24', c.date)
    self.assertEqual(filename, c.file)
    self.assertEqual(, c.context[0])
    self.assertEqual(, c.context[1])
    self.assertEqual(, c.context[2])