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

craft migrate:refresh --quiet --no-ansi still prints info on shell #20

Open
rfschubert opened this issue Jan 22, 2019 · 0 comments
Open

Comments

@rfschubert
Copy link

I'm trying to clear my database when my UnitTests runs...
So, i've added:

def tearDown(self):
    subprocess.call('craft migrate:refresh --quiet --no-ansi', shell=True)

But when i run the tests, i still got all querys on my shell. It be a little confusing. We should be able to hide those messages without disable all DB_LOG in .env file

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant