Hi team,

So far as I can see, the current way for unittest the DB APIs in Openstack is 
either mocking the DB or using a tmp/ram sqlite engine.
I went through Fixture SQLAlchemy DataSets [1], I would give a try on it. 
Anyone shouting no ?

Maybe other Openstack folks could shed some light on the right way/best 
practices in Openstack for unittesting ORM calls ?

Thanks,
-Sylvain

[1] : 
http://farmdev.com/projects/fixture/using-loadable-fixture.html#an-example-of-loading-data-using-sqlalchemy
_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to