~ubuntu-branches/ubuntu/saucy/python2.7/saucy-proposed

« back to all changes in this revision

Viewing changes to Lib/test/test_mimetypes.py

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-05-15 19:15:16 UTC
  • mto: (36.1.23 sid)
  • mto: This revision was merged to the branch mainline in revision 87.
  • Revision ID: package-import@ubuntu.com-20130515191516-zmv6to904wemey7s
Tags: upstream-2.7.5
ImportĀ upstreamĀ versionĀ 2.7.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
        eq(self.db.guess_type("foo.tgz"), ("application/x-tar", "gzip"))
22
22
        eq(self.db.guess_type("foo.tar.gz"), ("application/x-tar", "gzip"))
23
23
        eq(self.db.guess_type("foo.tar.Z"), ("application/x-tar", "compress"))
 
24
        eq(self.db.guess_type("foo.tar.bz2"), ("application/x-tar", "bzip2"))
 
25
        eq(self.db.guess_type("foo.tar.xz"), ("application/x-tar", "xz"))
24
26
 
25
27
    def test_data_urls(self):
26
28
        eq = self.assertEqual