Пример #1
0
 def test02_AlternatePokerRake(self):
     """Test Poker rake : get_rake_instance alternate PokerRake"""
     game = pokergame.PokerGameClient(
         "unittest.%s.xml",
         ['nodir', path.join(TESTS_PATH, 'test-data')])
     rake = pokerrake.get_rake_instance(game)
     self.failUnless(hasattr(rake, 'gotcha'))
Пример #2
0
 def test02_AlternatePokerRake(self):
     """Test Poker rake : get_rake_instance alternate PokerRake"""
     game = pokergame.PokerGameClient("unittest.%s.xml", ['nodir', path.join(TESTS_PATH, 'test-data')])
     rake = pokerrake.get_rake_instance(game)
     self.failUnless(hasattr(rake, 'gotcha'))
Пример #3
0
 def test01_Init(self):
     """Test Poker rake : get_rake_instance"""
     game = pokergame.PokerGameClient("unittest.%s.xml", ['nodir'])
     rake = pokerrake.get_rake_instance(game)
Пример #4
0
 def test01_Init(self):
     """Test Poker rake : get_rake_instance"""
     game = pokergame.PokerGameClient("unittest.%s.xml", ['nodir'])
     rake = pokerrake.get_rake_instance(game)