def METHOD_NAME():
    mock = MagicMock()
    with patch.dict(djangomod.__salt__, {"cmd.run": mock}):
        djangomod.syncdb("settings.py", migrate=True)
        mock.assert_called_once_with(
            "django-admin.py syncdb --settings=settings.py --migrate --noinput",
            python_shell=False,
            env=None,
            runas=None,
        )