Beispiel #1
0
 def test_status_type(self, *_):
     """class name"""
     self.assertEqual(models.Status().status_type, "Note")
     self.assertEqual(models.Review().status_type, "Review")
     self.assertEqual(models.Quotation().status_type, "Quotation")
     self.assertEqual(models.Comment().status_type, "Comment")
     self.assertEqual(models.Boost().status_type, "Announce")
Beispiel #2
0
 def test_status_type(self, _):
     ''' class name '''
     self.assertEqual(models.Status().status_type, 'Note')
     self.assertEqual(models.Review().status_type, 'Review')
     self.assertEqual(models.Quotation().status_type, 'Quotation')
     self.assertEqual(models.Comment().status_type, 'Comment')
     self.assertEqual(models.Boost().status_type, 'Boost')