How do I import the sqlachemy.testing.suite inside of IPython?  I'm trying 
to write my own tests for a custom dialect and at the command line and I 
want to play with the test suite to learn how it works better.  Is it 
possible to import it outside of py.test?   If so can I get an example of 
how to load it.  In particular I'm trying to figure out how to subclass the 
BooleanTest class of test_types.py.


etl@ichabod:~/src/etl/sqlalchemy_teradata$ python -c "import sqlalchemy; 
print sqlalchemy.__version__; from sqlalchemy.testing.suite import *"
1.0.0
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File 
"/home/etl/build/sqlalchemy/lib/sqlalchemy/testing/suite/__init__.py", line 
2, in <module>
    from sqlalchemy.testing.suite.test_ddl import *
  File 
"/home/etl/build/sqlalchemy/lib/sqlalchemy/testing/suite/test_ddl.py", line 
10, in <module>
    class TableDDLTest(fixtures.TestBase):
  File 
"/home/etl/build/sqlalchemy/lib/sqlalchemy/testing/suite/test_ddl.py", line 
36, in TableDDLTest
    @requirements.create_table
*AttributeError: 'NoneType' object has no attribute 'create_table'*



-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to