Example #1
0
 def test2(self):
     """Test get_user_list_from_trac function
     must not include people
     """
     not_expect = "chenyang"
     ul = get_user_list_from_trac()
     log = "\nExpect : %s not in user list array.\nBut list is %s" % (not_expect, ul)
     self.assertTrue(not_expect not in ul, msg = log)
Example #2
0
 def test1(self):
     """Test get_user_list_from_trac function
     must include people
     """
     expect = "chenzhongming"
     ul = get_user_list_from_trac()
     log = "\nExpect : %s in user list array.\nBut list is %s" % (expect, ul)
     self.assertTrue(expect in ul, msg = log)