Fix tests.
authorJeremy Thurgood <firxen@gmail.com>
Wed, 14 May 2014 07:59:29 +0000 (09:59 +0200)
committerJeremy Thurgood <firxen@gmail.com>
Wed, 14 May 2014 07:59:29 +0000 (09:59 +0200)
naja/tests/test_actions.py

index fb2c370b4cf11662543479a048564c1066a5951d..fba7af7476d99e2c1f2b8176b4c0496a63f8a90c 100644 (file)
@@ -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):