[AIRFLOW-2365] Fix autocommit attribute check
[AIRFLOW-2365] Fix autocommit attribute check

Closes #3258 from artwr/awiedmer-fix-dbapi-test-
issue

Fokko/incubator-airflow,wolfier/incubator-airflow,cfei18/incubator-airflow,DinoCow/airflow,Fokko/incubator-airflow,sergiohgz/incubator-airflow,apache/airflow,criccomini/airflow,nathanielvarona/airflow,mrkm4ntr/incubator-airflow,andyxhadji/incubator-airflow,mtagle/airflow,sekikn/incubator-airflow,adamhaney/airflow,malmiron/incubator-airflow,owlabs/incubator-airflow,bolkedebruin/airflow,DinoCow/airflow,danielvdende/incubator-airflow,nathanielvarona/airflow,CloverHealth/airflow,Acehaidrey/incubator-airflow,wileeam/airflow,edgarRd/incubator-airflow,r39132/airflow,wooga/airflow,edgarRd/incubator-airflow,subodhchhabra/airflow,artwr/airflow,lyft/incubator-airflow,Acehaidrey/incubator-airflow,apache/airflow,spektom/incubator-airflow,adamhaney/airflow,Acehaidrey/incubator-airflow,CloverHealth/airflow,sid88in/incubator-airflow,apache/incubator-airflow,artwr/airflow,gtoonstra/airflow,danielvdende/incubator-airflow,airbnb/airflow,criccomini/airflow,apache/airflow,Acehaidrey/incubator-airflow,fenglu-g/incubator-airflow,dhuang/incubator-airflow,Fokko/incubator-airflow,lyft/incubator-airflow,artwr/airflow,lyft/incubator-airflow,sergiohgz/incubator-airflow,bolkedebruin/airflow,mistercrunch/airflow,andyxhadji/incubator-airflow,r39132/airflow,nathanielvarona/airflow,fenglu-g/incubator-airflow,RealImpactAnalytics/airflow,cfei18/incubator-airflow,subodhchhabra/airflow,bolkedebruin/airflow,mtagle/airflow,spektom/incubator-airflow,danielvdende/incubator-airflow,jgao54/airflow,dhuang/incubator-airflow,yk5/incubator-airflow,fenglu-g/incubator-airflow,danielvdende/incubator-airflow,criccomini/airflow,wolfier/incubator-airflow,r39132/airflow,mistercrunch/airflow,subodhchhabra/airflow,owlabs/incubator-airflow,malmiron/incubator-airflow,jgao54/airflow,artwr/airflow,spektom/incubator-airflow,nathanielvarona/airflow,jgao54/airflow,Acehaidrey/incubator-airflow,mrkm4ntr/incubator-airflow,andyxhadji/incubator-airflow,airbnb/airflow,dhuang/incubator-airflow,yk5/incubator-airflow,andyxhadji/incubator-airflow,apache/airflow,mistercrunch/airflow,r39132/airflow,wooga/airflow,akosel/incubator-airflow,sekikn/incubator-airflow,wileeam/airflow,gtoonstra/airflow,lxneng/incubator-airflow,sekikn/incubator-airflow,owlabs/incubator-airflow,RealImpactAnalytics/airflow,wolfier/incubator-airflow,wolfier/incubator-airflow,akosel/incubator-airflow,sergiohgz/incubator-airflow,airbnb/airflow,cfei18/incubator-airflow,wileeam/airflow,sid88in/incubator-airflow,cfei18/incubator-airflow,lxneng/incubator-airflow,apache/incubator-airflow,airbnb/airflow,criccomini/airflow,cfei18/incubator-airflow,malmiron/incubator-airflow,bolkedebruin/airflow,akosel/incubator-airflow,gtoonstra/airflow,DinoCow/airflow,lxneng/incubator-airflow,yk5/incubator-airflow,RealImpactAnalytics/airflow,apache/incubator-airflow,sekikn/incubator-airflow,mistercrunch/airflow,nathanielvarona/airflow,DinoCow/airflow,subodhchhabra/airflow,cfei18/incubator-airflow,adamhaney/airflow,akosel/incubator-airflow,lxneng/incubator-airflow,Fokko/incubator-airflow,mtagle/airflow,dhuang/incubator-airflow,edgarRd/incubator-airflow,lyft/incubator-airflow,owlabs/incubator-airflow,nathanielvarona/airflow,fenglu-g/incubator-airflow,mrkm4ntr/incubator-airflow,apache/airflow,mtagle/airflow,wooga/airflow,CloverHealth/airflow,spektom/incubator-airflow,danielvdende/incubator-airflow,mrkm4ntr/incubator-airflow,RealImpactAnalytics/airflow,malmiron/incubator-airflow,wooga/airflow,wileeam/airflow,Acehaidrey/incubator-airflow,apache/incubator-airflow,adamhaney/airflow,yk5/incubator-airflow,CloverHealth/airflow,danielvdende/incubator-airflow,sid88in/incubator-airflow,edgarRd/incubator-airflow,apache/airflow,bolkedebruin/airflow,jgao54/airflow,gtoonstra/airflow,sid88in/incubator-airflow,sergiohgz/incubator-airflow