def test_set_serial_baud_rate(): # Arrange test_api = CobblerAPI() test_manager = CollectionManager(test_api) test_system = System(test_manager) # Act utils.set_serial_baud_rate(test_system, 9600) # Assert assert test_system.serial_baud_rate == 9600
def set_serial_baud_rate(self, baud_rate): return utils.set_serial_baud_rate(self, baud_rate)