Lines Matching refs:assertRaisesRegexp
356 self.assertRaisesRegexp(ValueError,
359 self.assertRaisesRegexp(ValueError,
362 self.assertRaisesRegexp(ValueError,
366 self.assertRaisesRegexp(ValueError, "can't connect in server-side mode",
634 with self.assertRaisesRegexp(ValueError, "unknown NID 100000"):
653 with self.assertRaisesRegexp(ValueError, "unknown object 'serverauth'"):
770 with self.assertRaisesRegexp(ssl.SSLError, "No cipher can be selected"):
837 with self.assertRaisesRegexp(ssl.SSLError, "PEM lib"):
839 with self.assertRaisesRegexp(ssl.SSLError, "PEM lib"):
846 with self.assertRaisesRegexp(ssl.SSLError, "PEM lib"):
848 with self.assertRaisesRegexp(ssl.SSLError, "PEM lib"):
850 with self.assertRaisesRegexp(ssl.SSLError, "PEM lib"):
854 with self.assertRaisesRegexp(ssl.SSLError, "key values mismatch"):
865 with self.assertRaisesRegexp(TypeError, "should be a string"):
869 with self.assertRaisesRegexp(ValueError, "cannot be longer"):
902 with self.assertRaisesRegexp(ValueError, "cannot be longer"):
904 with self.assertRaisesRegexp(TypeError, "must return a string"):
906 with self.assertRaisesRegexp(Exception, "getpass error"):
925 with self.assertRaisesRegexp(ssl.SSLError, "PEM lib"):
985 with self.assertRaisesRegexp(ssl.SSLError, "no start line"):
987 with self.assertRaisesRegexp(ssl.SSLError, "not enough data"):
1353 self.assertRaisesRegexp(ssl.SSLError, "certificate verify failed",
1460 self.assertRaisesRegexp(ssl.SSLError, "certificate verify failed",
1603 with self.assertRaisesRegexp(ssl.SSLError, "No cipher can be selected"):
2155 with self.assertRaisesRegexp(ssl.SSLError,
2195 with self.assertRaisesRegexp(ssl.CertificateError,
2203 with self.assertRaisesRegexp(ValueError,
2706 self.assertRaisesRegexp(ssl.SSLError, "timed out",
2715 self.assertRaisesRegexp(ssl.SSLError, "timed out",