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()