'Test write UDP w/bad precision.'

def test_write_bad_precision_udp(self):

    cli = InfluxDBClient('localhost', 8086, 'root', 'root', 'test', use_udp=True, udp_port=4444)
    with self.assertRaisesRegexp(Exception, 'InfluxDB    only    supports    seconds    precision    for    udp    writes'):
        cli.write_points(self.dummy_points, time_precision='ms')
