def METHOD_NAME():
    mock = MagicMock()
    with patch.dict(djangomod.__salt__, {"cmd.run": mock}):
        djangomod.collectstatic(
            "settings.py", None, True, "something", True, True, True, True
        )
        mock.assert_called_once_with(
            "django-admin.py collectstatic --settings=settings.py "
            "--noinput --no-post-process --dry-run --clear --link "
            "--no-default-ignore --ignore=something",
            python_shell=False,
            env=None,
            runas=None,
        )