Last of cleanup, including removing fake_storage flage

This commit is contained in:
Vishvananda Ishaya
2010-09-07 21:15:22 -07:00
parent a0a9dbae63
commit 3c25cf4083
12 changed files with 43 additions and 173 deletions

View File

@@ -39,12 +39,6 @@ FLAGS = flags.FLAGS
flags.DEFINE_bool('fake_tests', True,
'should we use everything for testing')
from sqlalchemy import create_engine
from sqlalchemy.ext.declarative import declarative_base
engine = create_engine('sqlite:///:memory:', echo=True)
Base = declarative_base()
Base.metadata.create_all(engine)
def skip_if_fake(func):
"""Decorator that skips a test if running in fake mode"""