def test_get_port_range_customized(self):
    self.flags(port_range='30000:40000', group='serial_console')
    (start, stop) = serial._get_port_range()
    self.assertEqual(30000, start)
    self.assertEqual(40000, stop)
def test_get_port_range_customized(self):
    self.flags(port_range='30000:40000', group='serial_console')
    (start, stop) = serial._get_port_range()
    self.assertEqual(30000, start)
    self.assertEqual(40000, stop)