Did I find the right examples for you? yes no

All Samples(42)  |  Call(42)  |  Derive(0)  |  Import(0)
Fail unless an exception of class excClass is raised
by callableObj when invoked with arguments args and keyword
arguments kwargs. If a different type of exception is
raised, it will not be caught, and the test case will be
deemed to have suffered an error, exactly as for an
unexpected exception.

If called with callableObj omitted or None, will return a
context object used like this::
(more...)

src/p/y/python-omhe-0.6.1/omhe/tests/bp_test.py   python-omhe(Download)
                print "end of Parsed Result"
 
            self.assertRaises(InvalidValueError, p.validate, splitdict=d)
 
    def testInvalidMessageRaisesInvalidMessageError(self):
                print "End of parsed result"
 
            self.assertRaises(InvalidMessageError, p.split, message=i)
 
 

src/p/y/python-omhe-0.6.1/omhe/tests/wt_test.py   python-omhe(Download)
 
 
            self.assertRaises(InvalidValueError, p.validate, splitdict=d)
 
    def test_InvalidMessage_Raises_InvalidMessageError(self):
                display_test_result(i,p)
 
            self.assertRaises(InvalidMessageError, p.split, message=i)
 
 

src/p/y/python-omhe-0.6.1/omhe/tests/pts_test.py   python-omhe(Download)
 
 
            self.assertRaises(InvalidValueError, p.validate, splitdict=d)
 
    def test_InvalidMessage_Raises_InvalidMessageError(self):
                display_test_result(i,p)
 
            self.assertRaises(InvalidMessageError, p.split, message=i)
 
 

src/p/y/python-omhe-0.6.1/omhe/tests/pn_test.py   python-omhe(Download)
 
 
            self.assertRaises(InvalidValueError, p.validate, splitdict=d)
 
    def test_InvalidMessage_Raises_InvalidMessageError(self):
                display_test_result(i,p)
 
            self.assertRaises(InvalidMessageError, p.split, message=i)
 
 

src/p/y/python-omhe-0.6.1/omhe/tests/pbf_test.py   python-omhe(Download)
 
 
            self.assertRaises(InvalidValueError, p.validate, splitdict=d)
 
    def test_InvalidMessage_Raises_InvalidMessageError(self):
                display_test_result(i,p)
 
            self.assertRaises(InvalidMessageError, p.split, message=i)
 
 

src/p/y/python-omhe-0.6.1/omhe/tests/md_test.py   python-omhe(Download)
 
 
            self.assertRaises(InvalidValueError, p.validate, splitdict=d)
 
    def test_InvalidMessage_Raises_InvalidMessageError(self):
                display_test_result(i,p)
 
            self.assertRaises(InvalidMessageError, p.split, message=i)
 
 

src/p/y/python-omhe-HEAD/omhe/tests/bp_test.py   python-omhe(Download)
                print "end of Parsed Result"
 
            self.assertRaises(InvalidValueError, p.validate, splitdict=d)
 
    def testInvalidMessageRaisesInvalidMessageError(self):
                print "End of parsed result"
 
            self.assertRaises(InvalidMessageError, p.split, message=i)
 
 

src/p/y/python-omhe-HEAD/omhe/tests/wt_test.py   python-omhe(Download)
 
 
            self.assertRaises(InvalidValueError, p.validate, splitdict=d)
 
    def test_InvalidMessage_Raises_InvalidMessageError(self):
                display_test_result(i,p)
 
            self.assertRaises(InvalidMessageError, p.split, message=i)
 
 

src/p/y/python-omhe-HEAD/omhe/tests/pts_test.py   python-omhe(Download)
 
 
            self.assertRaises(InvalidValueError, p.validate, splitdict=d)
 
    def test_InvalidMessage_Raises_InvalidMessageError(self):
                display_test_result(i,p)
 
            self.assertRaises(InvalidMessageError, p.split, message=i)
 
 

src/p/y/python-omhe-HEAD/omhe/tests/pn_test.py   python-omhe(Download)
 
 
            self.assertRaises(InvalidValueError, p.validate, splitdict=d)
 
    def test_InvalidMessage_Raises_InvalidMessageError(self):
                display_test_result(i,p)
 
            self.assertRaises(InvalidMessageError, p.split, message=i)
 
 

  1 | 2 | 3  Next