You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import io
buffer = io.StringIO()
from django.core.management import call_command
call_command("foo", stdout=buffer)
out = buffer.getvalue()
assert "whatever" in out
This is not possible with django-click, instead saying:
Assuming we have a command named
foo
...This is not possible with django-click, instead saying:
Environment
The text was updated successfully, but these errors were encountered: