Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/p/y/python-veracity-0.0.11/veracity/test/test_vv.py   python-veracity(Download)
from veracity import vv
 
from veracity.test import TEST, FILES
 
 
    def test_exception(self):
        """Verify a VeracityException is raised on an invalid call."""
        os.chdir(TEST)
        self.assertRaises(vv.VeracityException, vv.run, 'not_a_function')
 

src/p/y/python-veracity-0.0.11/veracity/test/test_vscript.py   python-veracity(Download)
from veracity.vscript import VeracityScriptException
 
from veracity.test import TEST
 
 
    def test_exception(self):
        """Verify a VeracityScriptException is raised for an invalid script path."""
        os.chdir(TEST)
        self.assertRaises(VeracityScriptException, vscript.run, 'not_a_script')