Guest User

Untitled

a guest
Jun 20th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. import os
  2.  
  3. from django.conf import settings
  4.  
  5. from south.management.commands import test
  6.  
  7. class Command(test.Command):
  8. help = test.Command.help.rstrip('.') + ' with special output for Bitten.'
  9.  
  10. def handle(self, *test_labels, **options):
  11. os.environ['DJANGO_BITTEN_TEST'] = '1'
  12. return super(Command, self).handle(*test_labels, **options)
Add Comment
Please, Sign In to add comment