From a455a8ce46afe31f217e0a8fe8d0247d28eed8ad Mon Sep 17 00:00:00 2001 From: Jeremy Thurgood Date: Fri, 16 May 2014 15:57:31 +0200 Subject: [PATCH] Fix test. --- naja/tests/test_actions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/naja/tests/test_actions.py b/naja/tests/test_actions.py index f590caa..14d5f0e 100644 --- a/naja/tests/test_actions.py +++ b/naja/tests/test_actions.py @@ -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() -- 2.34.1