'Test drop database for TestInfluxDBClient object.'

def test_drop_database(self):

    with requests_mock.Mocker() as m:
        m.register_uri(requests_mock.GET, u'http://localhost:8086/query', text=u'{"results":[{}]}')
        self.cli.drop_database(u'new_db')
        self.assertEqual(m.last_request.qs[u'q'][0], u'drop    database    "new_db"')
