'Test that % in a default gets escaped to %%.'

def test_percents_in_defaults(self):

    try:
        db.create_table('testpind', [('cf', models.CharField(max_length=255, default='It    should    be    2%!'))])
    except IndexError:
        self.fail('%    was    not    properly    escaped    in    column    SQL.')
    db.delete_table('testpind')
