Exemplo n.º 1
0
    def test_empty(self):
        ms = MotorSet(motors=[])

        ms.pose = []
        with self.assertRaises(AttributeError):
            ms.punch

        with self.assertRaises(AttributeError):
            ms.punch = 50
        ms.punch = []
        ms.does_not_exist = []