def test_export(self): bot = BotField(Orientation.NORTH, 'Foobar') self.assertEqual(bot.export(), { FIELD_KEY: Field.BOT, 'orientation': Orientation.NORTH, 'name': 'Foobar' }, 'Bot field export')
def test_export(self): bot = BotField(Orientation.NORTH, 'Foobar') self.assertEqual( bot.export(), { FIELD_KEY: Field.BOT, 'orientation': Orientation.NORTH, 'name': 'Foobar' }, 'Bot field export')
def test_export(self): bot = BotField(Orientation.NORTH) self.assertEqual(bot.export(), Field.BOT, 'Bot field export')