#27132: Test PyLibMCCache on Jenkins
--------------------------------------+------------------------------------
Reporter: edmorley | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Core (Cache system) | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by edmorley):
> I don't have much guidance about the settings overrides. Whatever works.
Ah I've just seen that `override_settings` can be used as a context
manager too and not just as a decorator. I didn't realise that from
reading
https://docs.djangoproject.com/en/1.10/topics/testing/tools/#django.test.override_settings
(I didn't scroll up to see the similar entry for `modify_settings()`.
That's fine then, for the per-test overrides we can use it to retrieve the
backend specific settings from the base class at runtime (which wouldn't
have worked with the decorator).
--
Ticket URL: <https://code.djangoproject.com/ticket/27132#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.a2db0e45142bdca49de6b4a098ee8515%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.