def setUp(self): """Set up test fixtures, if any.""" self.topology_data = dict() self.conn = MockConn() self.mock_kwargs = { "topology_data": self.topology_data, "modules": [], "conn_task": self.conn, } self.exe_task = ExeTask(**self.mock_kwargs)
def setUp(self): """Set up test fixtures, if any.""" self.conn = MockConn() mock_args = (-1, -1, self.conn) self.gyro = Gyro(*mock_args)
def setUp(self): """Set up test fixtures, if any.""" self.conn = MockConn() mock_args = (-1, -1, self.conn) self.button = Button(*mock_args)
def setUp(self): """Set up test fixtures, if any.""" self.conn = MockConn() self.mock_kwargs = -1, -1, self.conn self.led = Led(*self.mock_kwargs)
def setUp(self): """Set up test fixtures, if any.""" self.conn = MockConn() self.mock_kwargs = [-1, -1, self.conn] self.motor = Motor(*self.mock_kwargs)
def setUp(self): """Set up test fixtures, if any.""" self.conn = MockConn() mock_args = (-1, -1, self.conn) self.ultrasonic = Ultrasonic(*mock_args)