'Test failed create database for TestInfluxDBClient.'

@raises(Exception)
def test_create_database_fails(self):

    with _mocked_session('post', 401):
        cli = InfluxDBClient('host', 8086, 'username', 'password', 'db')
        cli.create_database('new_db')
