The "response" argument is optional in the get_response() method, this
avoids getting an error when trying to transmit with DummyModem:
TypeError: get_response() missing 1 required positional argument: 'response'
def send_command(self, command):
pass
def send_command(self, command):
pass
- def get_response(self, response):
+ def get_response(self, response=None):
# pylint: disable=unused-argument
setup_time = random.uniform(self.transceiver.modulator.period_min,
# pylint: disable=unused-argument
setup_time = random.uniform(self.transceiver.modulator.period_min,