def test__get_content_type_from_filename(self):
    blob = self._make_one(u'blob-name', bucket=None)
    return_value = blob._get_content_type(None, filename='archive.tar')
    self.assertEqual(return_value, 'application/x-tar')
def test__get_content_type_from_filename(self):
    blob = self._make_one(u'blob-name', bucket=None)
    return_value = blob._get_content_type(None, filename='archive.tar')
    self.assertEqual(return_value, 'application/x-tar')