def METHOD_NAME(self):
    # the original, minimum contents of the MIME database in the
    # Windows registry is undocumented AFAIK.
    # Use file types that should *always* exist:
    eq = self.assertEqual
    mimetypes.init()
    db = mimetypes.MimeTypes()
    eq(db.guess_type("foo.txt"), ("text/plain", None))
    eq(db.guess_type("image.jpg"), ("image/jpeg", None))
    eq(db.guess_type("image.png"), ("image/png", None))