From: Jeremy Thurgood Date: Fri, 16 May 2014 13:57:31 +0000 (+0200) Subject: Fix test. X-Git-Tag: 0.1~221 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=a455a8ce46afe31f217e0a8fe8d0247d28eed8ad;p=naja.git Fix test. --- 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()