diff example/example.py @ 325:4172feeddf76

want to incorporate run() for tests - not yet working
author catherine@dellzilla
date Thu, 11 Feb 2010 17:03:45 -0500
parents 9d91406ca3a7
children 237a89d5a4a9
line wrap: on
line diff
--- a/example/example.py	Thu Feb 11 16:07:24 2010 -0500
+++ b/example/example.py	Thu Feb 11 17:03:45 2010 -0500
@@ -1,6 +1,6 @@
 '''A sample application for cmd2.'''
 
-from cmd2 import Cmd, make_option, options, Cmd2TestCase
+from cmd2 import Cmd, make_option, options, Cmd2TestCase, run
 import unittest, optparse, sys
 
 class CmdLineApp(Cmd):
@@ -31,6 +31,7 @@
     do_orate = do_speak   # another synonym, but this one takes multi-line input
 
 c = CmdLineApp()
+#run(c)
 
 class TestMyAppCase(Cmd2TestCase):
     CmdApp = CmdLineApp
@@ -44,4 +45,3 @@
     unittest.main()
 else:
     CmdLineApp().cmdloop()
-