Got a demo coming? Write automated tests that simulate the steps you'll be taking. Then print out your test suite, and use it like a script.
With these steps, we will see how to write our management demo script in a runnable fashion.
recipe66.pyto store the test code for our management demo.
unittesttest scenario to capture your demo.
import unittest from network import * from springpython.database.factory import * class ManagementDemo(unittest.TestCase): def setUp(self): factory = MySQLConnectionFactory("user", ...