def METHOD_NAME(self):
    """
    Make sure that we can guess file types listed in le_utils.file_formats.choices.
    Note: if this test fails, it's likely because le_utils file formats aren't synced.
    """
    known_extensions = list(dict(file_formats.choices).keys())
    for ext in known_extensions:
        file_with_ext = File.objects.create(
            file_on_disk=ContentFile(b"test"),
            checksum="aaa"
        )
        try:
            file_with_ext.file_on_disk.save("aaa.{}".format(ext), ContentFile("aaa"))
        except Exception as e:
            raise type(e)(e.message + " ... (hint: make sure that the version of le-utils you're using has its file formats synced).")