Commit f88097a9 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

synch with trunk


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac315@2775 e5f2f494-b856-4b98-b285-d166d9295462
parents 05e0eb9c ace7b4fa
......@@ -559,7 +559,7 @@ def raise_interrupt():
def raise_ccerror():
raise isc.cc.session.SessionError('test error')
def raise_excpetion():
def raise_exception():
raise Exception('test exception')
class TestMain(unittest.TestCase):
......@@ -581,7 +581,7 @@ class TestMain(unittest.TestCase):
main(MockXfrin, False)
def test_startup_generalerror(self):
MockXfrin.check_command_hook = raise_excpetion
MockXfrin.check_command_hook = raise_exception
main(MockXfrin, False)
if __name__== "__main__":
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment