예제 #1
0
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
예제 #2
0
 def set_serial_baud_rate(self, baud_rate):
     return utils.set_serial_baud_rate(self, baud_rate)
예제 #3
0
 def set_serial_baud_rate(self, baud_rate):
     return utils.set_serial_baud_rate(self, baud_rate)