X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Ftests%2Ftest_actions.py;h=fba7af7476d99e2c1f2b8176b4c0496a63f8a90c;hb=1d2070b987a1e71a42e208288053b6468f5a9736;hp=fb2c370b4cf11662543479a048564c1066a5951d;hpb=4703c51496baf975ee4bff9465b4ed26950688d5;p=naja.git 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):