Commits

Philip Jenvey committed 7ecc0c4

explicitly add .xml to mimetypes as it's not present by default on all
environments

  • Participants
  • Parent commits ae31483

Comments (0)

Files changed (1)

tests/test_mimetypes.py

+import mimetypes
+
 from nose.plugins.skip import SkipTest
 from nose.tools import eq_
 
 
 def setup():
     MIMETypes.init()
+    mimetypes.add_type('application/xml', '.xml', True)
 
 def test_register_alias():
     MIMETypes.add_alias('html', 'text/html')