Skip to content

add database_url to the pytest.ini file #37

@isgondurasa

Description

@isgondurasa

it is a very simple to solve issue and very useful.
Need to patch pytest.ini file and add DATABASE_URL line there to make tests runnable
without passing extra environment variables like:

$ DATABASE_URL=postgresql://user:dbpass@pg/test pytest

to

$ pytest

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions