Skip to content

add database_url to the pytest.ini file #37

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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