Iryoung Jeong bf0e73f300 Updates clear_db() to unregister models and close session.
fixes bug 1080988

This change fixes the bug by ensuring the metadata and session objects
are properly cleaned up by clear_db(). Using the proper calls reduces
the memory required by unit tests.

Change-Id: I1d1802b642eff83b7f96211608195afaf68e855a
2012-11-16 02:27:19 +00:00
..
2011-11-28 10:33:52 -08:00
2012-11-02 09:52:12 +08:00