percious17 1909dc8888 initial py.test removal.
if you want to test, you must now:
easy_install nose
nosetests
2008-12-02 01:03:28 +00:00

12 lines
339 B
Python

from sqlalchemy import select
from test import fixture
class TestConnect(fixture.DB):
level=fixture.DB.TXN
@fixture.usedb()
def test_connect(self):
"""Connect to the database successfully"""
# Connection is done in fixture.DB setup; make sure we can do stuff
select(['42'],bind=self.engine).execute()