def test_allow_scheduled_invasion(self): """Can move somewhere that's not yours if you are invading""" londo = self.get_region("Orange Londo") # For testing purposes, londo is now neutral londo.owner = None battle = Battle(region=londo) self.sess.add(battle) self.sess.commit() self.alice.move(100, londo, 0) self.assertEqual(self.alice.region, londo)