'Tests drop and create Table with connections explicitly set
@since 3.7
@jira_ticket PYTHON-613
@expected_result Tables should be created and dropped
@test_category object_mapper'

def test_create_drop_table(self):

    for ks in self.keyspaces:
        create_keyspace_simple(ks, 1, connections=self.conns)
    with self.assertRaises(NoHostAvailable):
        sync_table(TestModel)
    sync_table(TestModel, connections=self.conns)
    drop_table(TestModel, connections=self.conns)
    TestModel.__connection__ = 'cluster'
    sync_table(TestModel)
    TestModel.__connection__ = None
    with self.assertRaises(NoHostAvailable):
        drop_table(TestModel)
    TestModel.__connection__ = 'cluster'
    drop_table(TestModel)
    TestModel.__connection__ = None
    for ks in self.keyspaces:
        drop_keyspace(ks, connections=self.conns)
