def METHOD_NAME():
    mock = MagicMock()
    with patch.dict(djangomod.__salt__, {"cmd.run": mock}):
        djangomod.createsuperuser("settings.py", "testuser", "user@example.com")
        assert mock.call_count == 1
        mock.assert_called_with(
            "django-admin.py createsuperuser --settings=settings.py --noinput "
            "--email=user@example.com --username=testuser",
            env=None,
            python_shell=False,
            runas=None,
        )