Re-write sqlite BigInteger mapping test
Re-write sqlite BigInteger mapping test

This test makes sure that our hook that compiles BigInteger() into
INTEGER for sqlite instead of BIGINT is working as we expect.
Unfortunately, we've seen some problems running the sqlite command to
check the schema.

This patch rewrites the test to only use sqlalchemy APIs and avoid
calling out to the sqlite command for verification.

Change-Id: Id3964d0dd5b0ddf08ab745d6878840ff06b2f0dd
Closes-bug: #1271331

projectcalico/calico-nova,rajalokan/nova,vladikr/nova_drafts,kimjaejoong/nova,cloudbase/nova,phenoxim/nova,double12gzh/nova,edulramirez/nova,belmiromoreira/nova,thomasem/nova,sebrandon1/nova,scripnichenko/nova,LoHChina/nova,hanlind/nova,MountainWei/nova,spring-week-topos/nova-week,varunarya10/nova_test_latest,nikesh-mahalka/nova,watonyweng/nova,adelina-t/nova,scripnichenko/nova,shail2810/nova,luogangyi/bcec-nova,klmitch/nova,tudorvio/nova,virtualopensystems/nova,BeyondTheClouds/nova,hanlind/nova,kimjaejoong/nova,Yusuke1987/openstack_template,eayunstack/nova,rahulunair/nova,zzicewind/nova,zaina/nova,takeshineshiro/nova,maelnor/nova,dawnpower/nova,tangfeixiong/nova,jianghuaw/nova,petrutlucian94/nova,tealover/nova,petrutlucian94/nova_dev,petrutlucian94/nova_dev,jianghuaw/nova,rrader/nova-docker-plugin,devoid/nova,CEG-FYP-OpenStack/scheduler,badock/nova,vmturbo/nova,eharney/nova,yatinkumbhare/openstack-nova,jeffrey4l/nova,akash1808/nova_test_latest,CCI-MOC/nova,alvarolopez/nova,leilihh/nova,alexandrucoman/vbox-nova-driver,dims/nova,noironetworks/nova,akash1808/nova_test_latest,orbitfp7/nova,TwinkleChawla/nova,blueboxgroup/nova,CloudServer/nova,mgagne/nova,mgagne/nova,zzicewind/nova,shail2810/nova,bgxavier/nova,maelnor/nova,Metaswitch/calico-nova,belmiromoreira/nova,saleemjaveds/https-github.com-openstack-nova,eonpatapon/nova,leilihh/nova,mandeepdhami/nova,felixma/nova,rahulunair/nova,whitepages/nova,virtualopensystems/nova,openstack/nova,angdraug/nova,JioCloud/nova,eonpatapon/nova,leilihh/novaha,cloudbase/nova,CEG-FYP-OpenStack/scheduler,openstack/nova,klmitch/nova,JianyuWang/nova,vmturbo/nova,berrange/nova,berrange/nova,joker946/nova,adelina-t/nova,dims/nova,leilihh/novaha,devendermishrajio/nova,affo/nova,phenoxim/nova,CiscoSystems/nova,iuliat/nova,redhat-openstack/nova,klmitch/nova,mmnelemane/nova,akash1808/nova,mahak/nova,redhat-openstack/nova,projectcalico/calico-nova,JioCloud/nova_test_latest,yatinkumbhare/openstack-nova,JioCloud/nova,BeyondTheClouds/nova,tanglei528/nova,mmnelemane/nova,akash1808/nova,ewindisch/nova,silenceli/nova,Francis-Liu/animated-broccoli,devendermishrajio/nova,alvarolopez/nova,gooddata/openstack-nova,sebrandon1/nova,mikalstill/nova,bigswitch/nova,Metaswitch/calico-nova,eayunstack/nova,whitepages/nova,dawnpower/nova,rrader/nova-docker-plugin,blueboxgroup/nova,viggates/nova,alaski/nova,mahak/nova,Juniper/nova,bigswitch/nova,iuliat/nova,angdraug/nova,BeyondTheClouds/nova,rahulunair/nova,barnsnake351/nova,CCI-MOC/nova,jianghuaw/nova,bgxavier/nova,NeCTAR-RC/nova,Tehsmash/nova,Stavitsky/nova,vladikr/nova_drafts,edulramirez/nova,Juniper/nova,alexandrucoman/vbox-nova-driver,shahar-stratoscale/nova,MountainWei/nova,cloudbase/nova-virtualbox,tudorvio/nova,ted-gould/nova,vmturbo/nova,watonyweng/nova,eharney/nova,orbitfp7/nova,spring-week-topos/nova-week,yosshy/nova,mikalstill/nova,luogangyi/bcec-nova,rajalokan/nova,cyx1231st/nova,LoHChina/nova,noironetworks/nova,rajalokan/nova,rajalokan/nova,JioCloud/nova_test_latest,isyippee/nova,Juniper/nova,fnordahl/nova,double12gzh/nova,Yusuke1987/openstack_template,CloudServer/nova,ted-gould/nova,petrutlucian94/nova,cernops/nova,gooddata/openstack-nova,j-carpentier/nova,raildo/nova,Tehsmash/nova,raildo/nova,Juniper/nova,jeffrey4l/nova,mahak/nova,cloudbase/nova-virtualbox,fnordahl/nova,affo/nova,viggates/nova,badock/nova,ruslanloman/nova,mandeepdhami/nova,hanlind/nova,joker946/nova,apporc/nova,ruslanloman/nova,barnsnake351/nova,silenceli/nova,shahar-stratoscale/nova,cyx1231st/nova,j-carpentier/nova,zaina/nova,tianweizhang/nova,varunarya10/nova_test_latest,Francis-Liu/animated-broccoli,gooddata/openstack-nova,zhimin711/nova,ewindisch/nova,tanglei528/nova,tangfeixiong/nova,devoid/nova,zhimin711/nova,NeCTAR-RC/nova,thomasem/nova,nikesh-mahalka/nova,tealover/nova,isyippee/nova,openstack/nova,apporc/nova,devendermishrajio/nova_test_latest,OpenAcademy-OpenStack/nova-scheduler,devendermishrajio/nova_test_latest,cloudbase/nova,gooddata/openstack-nova,yosshy/nova,CiscoSystems/nova,mikalstill/nova,cernops/nova,alaski/nova,jianghuaw/nova,takeshineshiro/nova,TwinkleChawla/nova,Stavitsky/nova,OpenAcademy-OpenStack/nova-scheduler,cernops/nova,tianweizhang/nova,felixma/nova,sebrandon1/nova,JianyuWang/nova,vmturbo/nova,saleemjaveds/https-github.com-openstack-nova,klmitch/nova