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'))
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'))
def test01_Init(self): """Test Poker rake : get_rake_instance""" game = pokergame.PokerGameClient("unittest.%s.xml", ['nodir']) rake = pokerrake.get_rake_instance(game)