@patch('salt.modules.djangomod._get_django_admin',
           MagicMock(return_value=True))
    def test_command(self):
        mock = MagicMock(return_value=True)
        with patch.dict(djangomod.__salt__, {'cmd.run': mock}):
            self.assertTrue(djangomod.command('DJANGO_SETTINGS_MODULE',
                                              'validate'))

    # 'syncdb' function tests: 1
Start the instances, harmless if not already running.
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/djangomod_test.py/DjangomodTestCase.test_command--crossover with--dataset/ETHPy150Open mpdehaan/strider/lib/strider/virt/ec2.py/EC2._start_instances