'Tests whether certificate style authorization raises Exception'

def test__build_opener_not_implemented_error(self):

    self.root._auth_style = 'not_basic_auth'
    self.assertRaises(NotImplementedError, self.root._build_opener)
