def test_get_comments(self): '''COMMENT''' self.assertIn(Comment ('DatabaseAccession', 'DatabaseAccession', 'Z stereomer', datetime.datetime.strptime('2006-09-01', '%Y-%M-%d')), parsers.get_comments(5407))
def test_get_comments_neg(self): '''COMMENT''' self.assertEqual(parsers.get_comments(-1), [])
def test_get_comments_size_neg(self): '''COMMENT''' self.assertTrue(len(parsers.get_comments(-1)) == 0)
def test_get_comments_size(self): '''COMMENT''' self.assertTrue(len(parsers.get_comments(5407)) > 3)
def test_get_comments_size_empty(self): '''COMMENT''' self.assertTrue(len(parsers.get_comments(7)) == 0)
def test_get_comments_neg(self): '''COMMENT''' self.assertEqual(parsers.get_comments(-1), [])
def test_get_comments(self): '''COMMENT''' self.assertIn( Comment('DatabaseAccession', 'DatabaseAccession', 'Z stereomer', datetime.datetime.strptime('2006-09-01', '%Y-%M-%d')), parsers.get_comments(5407))
def test_get_comments_size_neg(self): '''COMMENT''' self.assertTrue(0 == len(parsers.get_comments(-1)))
def test_get_comments_size_empty(self): '''COMMENT''' self.assertTrue(0 == len(parsers.get_comments(7)))
def test_get_comments_size(self): '''COMMENT''' self.assertTrue(3 < len(parsers.get_comments(5407)))