Пример #1
0
class TestTourney(unittest.TestCase):

    def setUp(self):
        self.tourney = Tourney("TourneyName");

    def testTourneyInit(self):
       self.assertEqual(self.tourney.getName(), "TourneyName")
Пример #2
0
 def setUp(self):
     self.tourney = Tourney("TourneyName");
Пример #3
0
 def setUp(self):
     self.tourney = Tourney("TourneyName")
Пример #4
0
class TestTourney(unittest.TestCase):
    def setUp(self):
        self.tourney = Tourney("TourneyName")

    def testTourneyInit(self):
        self.assertEqual(self.tourney.getName(), "TourneyName")