test_create_fake_history_command.py 240 B

123456789
  1. from io import StringIO
  2. from django.core.management import call_command
  3. from ..management.commands import createfakehistory
  4. def test_management_command_has_no_errors(db):
  5. call_command(createfakehistory.Command(), stdout=StringIO())