'tests that the right things happen the the context id'

def test_context_id_update(self):

    ss = SelectStatement('table')
    ss.add_where(Column(db_field='a'), EqualsOperator(), 'b')
    self.assertEqual(ss.get_context(), {'0': 'b'})
    self.assertEqual(str(ss), 'SELECT    *    FROM    table    WHERE    "a"    =    %(0)s')
    ss.update_context_id(5)
    self.assertEqual(ss.get_context(), {'5': 'b'})
    self.assertEqual(str(ss), 'SELECT    *    FROM    table    WHERE    "a"    =    %(5)s')
