Exemplo n.º 1
0
class TestParticipant(unittest.TestCase):

    def setUp(self):
        self.participant = Participant("PartName");

    def testParticipantInit(self):
       self.assertEqual(self.participant.getName(), "PartName")
Exemplo n.º 2
0
 def setUp(self):
     self.participant = Participant("PartName")
Exemplo n.º 3
0
 def setUp(self):
     self.participant = Participant("PartName");
Exemplo n.º 4
0
class TestParticipant(unittest.TestCase):
    def setUp(self):
        self.participant = Participant("PartName")

    def testParticipantInit(self):
        self.assertEqual(self.participant.getName(), "PartName")
Exemplo n.º 5
0
 def setUp(self):
     self.match = Match("MatchName")
     self.participant1 = Participant("Part1")