def setUp(self):

        config = path.dirname(path.realpath(__file__))+"/test_config.yaml"
        self.config = lib.get_config(config)

        # Build motor in testing mode
        self.pwm_num = self.config["two_motors"][0]["PWM"]
        self.motor = m_mod.Motor(self.pwm_num)
Setup test hardware files and build motor object.
dataset/ETHPy150Open IEEERobotics/bot/tests/test_motor.py/TestNoDirection.setUp