'Test write points with bad precision.'

def test_write_points_bad_precision(self):

    cli = InfluxDBClient()
    with self.assertRaisesRegexp(Exception, "Invalid    time    precision    is    given.    \\(use    's',    'm',    'ms'    or    'u'\\)"):
        cli.write_points(self.dummy_points, time_precision='g')
