'test that \'autoincrement\' is reflected according to sqla\'s policy.
Don\'t mark this test as unsupported for any backend !
(technically it fails with MySQL InnoDB since "id" comes before "id2")
A backend is better off not returning "autoincrement" at all,
instead of potentially returning "False" for an auto-incrementing
primary key column.'

@testing.requires.table_reflection
@testing.provide_metadata
def test_autoincrement_col(self):

    meta = self.metadata
    insp = inspect(meta.bind)
    for (tname, cname) in [('users', 'user_id'), ('email_addresses', 'address_id'), ('dingalings', 'dingaling_id')]:
        cols = insp.get_columns(tname)
        id_ = dict(((c['name'], c) for c in cols))[cname]
        assert id_.get('autoincrement', True)
