This commit is contained in:
@@ -125,10 +125,6 @@ class Release061Tests(unittest.TestCase):
|
||||
self.command("/draw 100")
|
||||
self.assertIn("金币不足", self.command("/draw 2"))
|
||||
self.assertEqual(self.state()["balance"], 0)
|
||||
with mock.patch.object(self.local.players.rng, "randrange", return_value=123):
|
||||
reply = self.command("/买彩票 123 10", sender="Bob")
|
||||
self.assertIn("返还 5000", reply)
|
||||
self.assertEqual(self.state("Bob")["balance"], 5990)
|
||||
|
||||
def test_blackjack_is_private_persistent_and_settles_exactly_once(self):
|
||||
# Player 10+7, dealer 9+8: standing produces a tie.
|
||||
|
||||
Reference in New Issue
Block a user