def test_get_port_range_not_numeric(self):
    self.flags(port_range='xxx:yyy', group='serial_console')
    (start, stop) = serial._get_port_range()
    self.assertEqual(10000, start)
    self.assertEqual(20000, stop)
def test_get_port_range_not_numeric(self):
    self.flags(port_range='xxx:yyy', group='serial_console')
    (start, stop) = serial._get_port_range()
    self.assertEqual(10000, start)
    self.assertEqual(20000, stop)