test_misagodbrelations.py 364 B

123456789101112
  1. from django.test import TestCase
  2. from django.utils.six import StringIO
  3. from misago.core.management.commands import misagodbrelations
  4. class MisagoDBRelationsTests(TestCase):
  5. def test_command_has_no_errors(self):
  6. """command raises no errors during execution"""
  7. command = misagodbrelations.Command()
  8. command.execute(stdout=StringIO())