'Tests to ensure keyspace param is honored
@since 3.7
@jira_ticket PYTHON-613
@expected_result Invalid request is thrown
@test_category object_mapper'

def test_context_connection_with_keyspace(self):

    with ContextQuery(TestModel, connection='cluster', keyspace='ks2') as tm:
        with self.assertRaises(InvalidRequest):
            tm.objects.create(partition=1, cluster=1)
