Esempio n. 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'))
Esempio n. 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'))
Esempio n. 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)
Esempio n. 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)