Esempio n. 1
0
 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')
Esempio n. 2
0
 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')
Esempio n. 3
0
 def test_export(self):
     bot = BotField(Orientation.NORTH)
     self.assertEqual(bot.export(), Field.BOT, 'Bot field export')