Implement the monocle of truth, closes #62

This commit is contained in:
Yohann D'ANELLO
2021-01-08 15:48:12 +01:00
parent 1270640619
commit a497d08f31
10 changed files with 97 additions and 49 deletions

View File

@ -66,6 +66,7 @@ class TestGame(unittest.TestCase):
new_state = self.game.save_state()
self.assertEqual(old_state, new_state)
self.assertIsNone(self.game.message)
# Ensure that the bomb is loaded
self.assertTrue(self.game.player.inventory)

View File

@ -81,3 +81,4 @@ class TestTranslations(unittest.TestCase):
"anneau de coup critique")
self.assertEqual(_("ring of more experience"),
"anneau de plus d'expérience")
self.assertEqual(_("monocle"), "monocle")