Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add database_url to the pytest.ini file #37

Open
isgondurasa opened this issue Oct 4, 2018 · 0 comments
Open

add database_url to the pytest.ini file #37

isgondurasa opened this issue Oct 4, 2018 · 0 comments

Comments

@isgondurasa
Copy link
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant