def METHOD_NAME(self):
    """Test export_def_from_filename()."""
    filename = "path/filename.xlsx"
    ext, mime_type = export_def_from_filename(filename)
    self.assertEqual(ext, "xlsx")
    self.assertEqual(mime_type, "vnd.openxmlformats")