Part of lp.services.librarian.tests.test_utils View In Hierarchy
Package Diffs ('.diff.gz') and buildlogs ('.txt.gz') should be served using mimetype 'text/plain' and encoding 'gzip'.