Ticket #24086: 24086-test.diff

File 24086-test.diff, 705 bytes (added by Tim Graham, 10 years ago)
  • tests/migrate_signals/tests.py

    diff --git a/tests/migrate_signals/tests.py b/tests/migrate_signals/tests.py
    index cacf398..be34fb9 100644
    a b class MigrateSignalTests(TestCase):  
    9494        self.assertEqual(args['verbosity'], MIGRATE_VERBOSITY)
    9595        self.assertEqual(args['interactive'], MIGRATE_INTERACTIVE)
    9696        self.assertEqual(args['using'], 'default')
     97
     98        management.call_command('migrate', 'migrate_signals', 'zero',
     99            database=MIGRATE_DATABASE, verbosity=MIGRATE_VERBOSITY,
     100            interactive=MIGRATE_INTERACTIVE, load_initial_data=False,
     101            stdout=stdout)
     102        self.assertEqual(r.call_counter, 2)
Back to Top