From: Jeremy Thurgood Date: Wed, 14 May 2014 07:59:29 +0000 (+0200) Subject: Fix tests. X-Git-Tag: 0.1~314 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=1d2070b987a1e71a42e208288053b6468f5a9736;p=naja.git Fix tests. --- diff --git a/naja/tests/test_actions.py b/naja/tests/test_actions.py index fb2c370..fba7af7 100644 --- a/naja/tests/test_actions.py +++ b/naja/tests/test_actions.py @@ -10,7 +10,7 @@ class TestActions(TestCase): def make_player(self, *bits): player_bits = 0 for bit in bits: - player_bits |= bit + player_bits |= (1 << bit) return Player(player_bits, None) def make_board(self, player_bits=None, locations=None):