unikent/programmes-plant — pull request #62 by conatus (2012-12-05 15:33:22+00:00)
Title: Cache Optimisation Tests

Comprehensive tests for the caching of the slower elements of the field. Includes tests that test the falling back of the in memory cache to the disk cache and the disk cache to the database.

This should actually fail the build - as `get_title_field` is not implemented for ProgrammeSettings.

This could do with a further level of abstraction to test a newly implemented version of Revisionable, not ProgrammSetting. This is begun at the top of the file with the SomethingElse class.