Fix test.
authorJeremy Thurgood <firxen@gmail.com>
Fri, 16 May 2014 13:57:31 +0000 (15:57 +0200)
committerJeremy Thurgood <firxen@gmail.com>
Fri, 16 May 2014 13:57:31 +0000 (15:57 +0200)
naja/tests/test_actions.py

index f590caa9e576adf99e6cb1ab9dbebd3dda15e498..14d5f0e6e2f8efd56b3f926c510ce94ea2003dfe 100644 (file)
@@ -66,16 +66,16 @@ class TestActions(TestCase):
             TEXT = "foo %(direction)s %(rowcol)s"
 
         action_north = DirectionAction([], direction='NORTH')
-        self.assertEqual(action_north.get_text(), "foo NORTH column")
+        self.assertEqual(action_north.get_text(), "foo {NORTH} column")
 
         action_south = DirectionAction([], direction='SOUTH')
-        self.assertEqual(action_south.get_text(), "foo SOUTH column")
+        self.assertEqual(action_south.get_text(), "foo {SOUTH} column")
 
         action_east = DirectionAction([], direction='EAST')
-        self.assertEqual(action_east.get_text(), "foo EAST row")
+        self.assertEqual(action_east.get_text(), "foo {EAST} row")
 
         action_west = DirectionAction([], direction='WEST')
-        self.assertEqual(action_west.get_text(), "foo WEST row")
+        self.assertEqual(action_west.get_text(), "foo {WEST} row")
 
     def test_DoNothing(self):
         board = self.make_board()