Better lifecycle unit tests

Also, refactoring some DB calls for easier testing.
This commit is contained in:
Andrew Melton
2013-01-23 17:59:00 -05:00
parent f1411de065
commit 57fea75478
8 changed files with 231 additions and 8 deletions

6
tests/__init__.py Normal file
View File

@@ -0,0 +1,6 @@
import os
import sys
print "!!!!!!! %s" %__package__
#sys.path = [os.path.abspath(os.path.dirname(__package__))] + sys.path