'If the file type passed to :py:obj:`load_certificate_request` is
neither :py:obj:`FILETYPE_PEM` nor :py:obj:`FILETYPE_ASN1` then
:py:class:`ValueError` is raised.'

def test_badFileType(self):

    self.assertRaises(ValueError, load_certificate_request, object(), '')
