I notice now there is a test called test_packages.py which
demonstrates how to re-initialize an elixir model from a package (or
module) if it's already been cleaned up, specifically by removing the
module from sys.modules and then reimporting.

The test acknowledges that this is a bit hackish, so I'm curious: Is
this technique the best way to force Elixir to re-setup entities from
an imported module for the purposes of unit tests?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to