Re: [SQLObject] Testing SQLObject

Top Page
Author: Kevin Dangoor
Date:  
To: João Paulo Fernandes Farias
CC: Oleg Broytmann, sqlobject-discuss
Subject: Re: [SQLObject] Testing SQLObject
Hi,

This is from sqlobject/conftest.py:
Option = py.test.Config.Option
option = py.test.Config.addoptions(
    "SQLObject options",
    Option('-D', '--Database',
           action="store", dest="Database", default='sqlite',
           help="The database to run the tests under (default sqlite).  "
           "Can also use an alias from: %s"
           % (', '.join(connectionShortcuts.keys()))),
    Option('-S', '--SQL',
           action="store_true", dest="show_sql", default=False,
           help="Show SQL from statements (when capturing stdout the "
           "SQL is only displayed when a test fails)"),
    Option('-O', '--SQL-output',
           action="store_true", dest="show_sql_output", default=False,
           help="Show output from SQL statements (when capturing "
           "stdout the output is only displayed when a test fails)"))


Kevin

On 10/2/05, João Paulo Fernandes Farias <jpaulofarias@???> wrote:
> Hi!
>
> How do I run the SQLObject tests?
>
> I know it uses py.test, but I cannot set it to use postgresql as the test
> database.
>
> --
> JP
>



--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: kid@???
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@???
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss