コード例 #1
0
class TestParticipant(unittest.TestCase):

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

    def testParticipantInit(self):
       self.assertEqual(self.participant.getName(), "PartName")
コード例 #2
0
 def setUp(self):
     self.participant = Participant("PartName")
コード例 #3
0
 def setUp(self):
     self.participant = Participant("PartName");
コード例 #4
0
class TestParticipant(unittest.TestCase):
    def setUp(self):
        self.participant = Participant("PartName")

    def testParticipantInit(self):
        self.assertEqual(self.participant.getName(), "PartName")
コード例 #5
0
ファイル: test_match.py プロジェクト: timothya/retourney
 def setUp(self):
     self.match = Match("MatchName")
     self.participant1 = Participant("Part1")